🔖 再次尝试修复 profile 报错

This commit is contained in:
xtaodada 2020-04-01 21:57:47 +08:00
parent 3d69264521
commit 1c857a958a
No known key found for this signature in database
GPG Key ID: 39EFACA711DF5D8C

View File

@ -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",