mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-20 18:25:30 -04:00
Keep embed_cover_path always defined
This commit is contained in:
parent
0d2ca55be5
commit
43663ef80d
1 changed files with 2 additions and 0 deletions
|
@ -921,6 +921,8 @@ class Album(Tracklist):
|
||||||
tqdm_download(self.cover_urls[download_cover_size], cover_path)
|
tqdm_download(self.cover_urls[download_cover_size], cover_path)
|
||||||
else:
|
else:
|
||||||
embed_cover_path = cover_path
|
embed_cover_path = cover_path
|
||||||
|
else:
|
||||||
|
embed_cover_path = cover_path
|
||||||
|
|
||||||
embed_cover = kwargs.get("embed_cover", True) # embed by default
|
embed_cover = kwargs.get("embed_cover", True) # embed by default
|
||||||
if self.client.source != "deezer" and embed_cover:
|
if self.client.source != "deezer" and embed_cover:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue