Исправлена небольшая ошибка отображения профиля

This commit is contained in:
Andrei 2022-08-12 14:00:51 +05:00
parent ca2b476232
commit fa9f9a2c3e

View File

@ -268,6 +268,8 @@ def profile():
emotion['is_like'] = 1
emotion_pub.append(emotion)
message = 'Ваша почта успешно изменена!' if help_arg_2 == 'EditEmail' else ''
if help_arg_2:
help_arg_2 = False
return render_template('profile.html', title='Профиль', pub_post=pub_post, emotion_pub=emotion_pub,
message=message)
else: