adjust path cleanup function

This commit is contained in:
Rafael Moraes
2024-09-24 21:53:29 -03:00
parent db767d17c8
commit b07d62b29f
+1 -3
View File
@@ -128,9 +128,7 @@ class DownloaderMusicVideo(DownloaderVideo):
try:
self._download(*args, **kwargs)
finally:
if self.downloader.temp_path.exists():
logger.debug(f'Cleaning up "{self.downloader.temp_path}"')
self.downloader.cleanup_temp_path()
self.downloader.cleanup_temp_path()
def _download(
self,