Closed gautamajay52 closed 3 years ago
sometimes pyrogram sends media.file_name as None. But download file with file_name
Bot gives Error: [Errno 2] No such file or directory: '/home/username/mirror-bot/downloads/567/None'
[Errno 2] No such file or directory: '/home/username/mirror-bot/downloads/567/None'
If you want to reproduce error, I can give you file.
sometimes pyrogram sends media.file_name as None. But download file with file_name
Bot gives Error:
[Errno 2] No such file or directory: '/home/username/mirror-bot/downloads/567/None'
If you want to reproduce error, I can give you file.