mirror of
https://github.com/glomatico/votify.git
synced 2026-09-26 19:12:27 +02:00
adjust path cleanup function
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user