From fa9f9a2c3e8234f38dfd556b14c44a86dbb7ba50 Mon Sep 17 00:00:00 2001 From: Andrei Date: Fri, 12 Aug 2022 14:00:51 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BD=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B0=D1=8F=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 415a2f2..50ee47a 100644 --- a/main.py +++ b/main.py @@ -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: