Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Aug 12, 2021
1 parent 351f271 commit e859692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplebot_file2link.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e859692

Please sign in to comment.