Fix error when cover is not present

This commit is contained in:
Mijael Viricochea
2022-09-08 16:30:41 -04:00
parent 3199dcedc6
commit 96742046ba
+1 -1
View File
@@ -30,7 +30,7 @@ def start_album(obj: Album):
tracks, videos = TIDAL_API.getItems(obj.id, Type.Album)
if SETTINGS.saveAlbumInfo:
downloadAlbumInfo(obj, tracks)
if SETTINGS.saveCovers:
if SETTINGS.saveCovers and obj.cover is not None:
downloadCover(obj)
downloadTracks(tracks, obj)
downloadVideos(videos, obj)