From 1c857a958afda05597db683fae936be45a97f251 Mon Sep 17 00:00:00 2001 From: xtaodada <1344089750@qq.com> Date: Wed, 1 Apr 2020 21:57:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20=E5=86=8D=E6=AC=A1=E5=B0=9D?= =?UTF-8?q?=E8=AF=95=E4=BF=AE=E5=A4=8D=20profile=20=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagermaid/modules/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pagermaid/modules/account.py b/pagermaid/modules/account.py index 90e6ef6..de1bc6e 100644 --- a/pagermaid/modules/account.py +++ b/pagermaid/modules/account.py @@ -209,7 +209,7 @@ async def profile(context): try: reply_to = context.message.reply_to_msg_id except: - reply_to = None + reply_to is None photo = await context.client.download_profile_photo( target_user.user.id, "./" + str(target_user.user.id) + ".jpg",