Skip to content

Commit

Permalink
fix cover saving
Browse files Browse the repository at this point in the history
  • Loading branch information
glomatico committed Sep 22, 2024
1 parent f56bade commit 3b7f2bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions votify/downloader_episode.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def _download(
decrypted_path = None
if final_path.exists() and not self.downloader.overwrite:
logger.warning(f'Track already exists at "{final_path}", skipping')
return
else:
if not decryption_key:
logger.debug("Getting decryption key")
Expand All @@ -142,7 +141,6 @@ def _download(
elif self.downloader.save_cover and cover_url is not None:
logger.debug(f'Saving cover to "{cover_path}"')
self.downloader.save_cover_file(cover_path, cover_url)
return
if decrypted_path:
logger.debug("Applying tags")
self.downloader.apply_tags(decrypted_path, tags, cover_url)
Expand Down
1 change: 0 additions & 1 deletion votify/downloader_song.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ def _download(
elif self.downloader.save_cover and cover_url is not None:
logger.debug(f'Saving cover to "{cover_path}"')
self.downloader.save_cover_file(cover_path, cover_url)
return
if decrypted_path:
logger.debug("Applying tags")
self.downloader.apply_tags(decrypted_path, tags, cover_url)
Expand Down

0 comments on commit 3b7f2bb

Please sign in to comment.