Added log about clearing temp
This commit is contained in:
parent
46f1ea616c
commit
1d73a2aa99
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ class Download:
|
||||||
self.status_queue.put({'status': 'error', 'msg': str(exc)})
|
self.status_queue.put({'status': 'error', 'msg': str(exc)})
|
||||||
|
|
||||||
if self.tempPath and self.info._id and os.path.exists(self.tempPath):
|
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)
|
shutil.rmtree(self.tempPath, ignore_errors=True)
|
||||||
|
|
||||||
async def start(self, notifier):
|
async def start(self, notifier):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue