Fix pastebin

This commit is contained in:
yasir 2023-02-13 23:04:03 +07:00
parent 5a6cf4ee3b
commit 56ebdfdab3

View file

@ -61,7 +61,7 @@ async def mediainfo(client, message):
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text="💬 View in Web", url=link)]])
except Exception as e:
markup = None
with io.BytesIO(str.encode(output)) as out_file:
with io.BytesIO(str.encode(body_text)) as out_file:
out_file.name = "MissKaty_Mediainfo.txt"
await message.reply_document(
out_file,