diff --git a/plugins/qrcode.py b/plugins/qrcode.py index 0503a1c..2e7d64b 100644 --- a/plugins/qrcode.py +++ b/plugins/qrcode.py @@ -44,7 +44,7 @@ async def cd(e): if reply and (reply.sticker or reply.photo): cimg = await reply.download_media() elif ultroid_bot.me.photo and not ultroid_bot.me.photo.has_video: - cimg = await e.client.get_profile_photos(ultroid_bot.uid, limit=1)[0] + cimg = (await e.client.get_profile_photos(ultroid_bot.uid, limit=1))[0] kk = await e.eor(get_string("com_1")) img = cimg or default