Added log about clearing temp

This commit is contained in:
ArabCoders 2023-12-27 17:08:44 +03:00
parent 46f1ea616c
commit 1d73a2aa99

View file

@ -137,6 +137,7 @@ class Download:
self.status_queue.put({'status': 'error', 'msg': str(exc)})
if self.tempPath and self.info._id and os.path.exists(self.tempPath):
logging.debug(f'Deleting Temp directory: {self.tempPath}')
shutil.rmtree(self.tempPath, ignore_errors=True)
async def start(self, notifier):