diff --git a/simplebot_file2link.py b/simplebot_file2link.py index 569fb74..a80d381 100644 --- a/simplebot_file2link.py +++ b/simplebot_file2link.py @@ -33,7 +33,7 @@ def file2link(bot: DeltaBot, message: Message, replies: Replies) -> None: """Send me any file in private and I will upload it and give you a download link that you can share with others.""" if not message.chat.is_group() and message.filename: num = os.stat(message.filename).st_size - if num > 1024**2: + if num > 1024 ** 2: rep = Replies(message, bot.logger) rep.add(text="⬆️ Uploading...", quote=message) rep.send_reply_messages()