You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
021-12-08T16:13:34.086421+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/concurrent/futures/thread.py", line 58, in run
2021-12-08T16:13:34.086421+00:00 app[worker.1]: result = self.fn(*self.args, **self.kwargs)
2021-12-08T16:13:34.086424+00:00 app[worker.1]: File "/app/bot/plugins/download.py", line 67, in _telegram_file
2021-12-08T16:13:34.086425+00:00 app[worker.1]: sent_message.edit(Messages.DOWNLOADED_SUCCESSFULLY.format(os.path.basename(file_path), humanbytes(os.path.getsize(file_path))))
2021-12-08T16:13:34.086425+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/posixpath.py", line 142, in basename
2021-12-08T16:13:34.086426+00:00 app[worker.1]: p = os.fspath(p)
2021-12-08T16:13:34.086426+00:00 app[worker.1]: TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered:
Please help how to fix this
021-12-08T16:13:34.086421+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/concurrent/futures/thread.py", line 58, in run
2021-12-08T16:13:34.086421+00:00 app[worker.1]: result = self.fn(*self.args, **self.kwargs)
2021-12-08T16:13:34.086424+00:00 app[worker.1]: File "/app/bot/plugins/download.py", line 67, in _telegram_file
2021-12-08T16:13:34.086425+00:00 app[worker.1]: sent_message.edit(Messages.DOWNLOADED_SUCCESSFULLY.format(os.path.basename(file_path), humanbytes(os.path.getsize(file_path))))
2021-12-08T16:13:34.086425+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/posixpath.py", line 142, in basename
2021-12-08T16:13:34.086426+00:00 app[worker.1]: p = os.fspath(p)
2021-12-08T16:13:34.086426+00:00 app[worker.1]: TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered: