Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Temp file is exist after download_media failed #378
Comments
|
@mrb0098 Hi. Both sync and async variants use the same approach when dealing with temporary downloaded files. I guess Pyrogram lacks some cleanup code in the exception branch. We will investigate this, thanks. |
how can i handle this exceptions ? |
Hi
i use this version of pyrogram to create a download bot on my personal vps .
when download_media function is failed (because flood error or some else ) temp files are created by bot in
/tmpfolder not removed :(python version : 3.7.7