fixed exception

This commit is contained in:
Hellow2 2023-04-04 10:25:01 +02:00
parent 9895c8abd6
commit a48ee21a9c

View File

@ -352,7 +352,7 @@ class Page:
if type(music_object) is Album: if type(music_object) is Album:
return cls.download_album(music_object, default_target) return cls.download_album(music_object, default_target)
if type(music_object) is Artist: if type(music_object) is Artist:
return cls.download_artist(music_object, default_target, exclude_album_type=exclude_album_type) return cls.download_artist(music_object, default_target=default_target, download_features=download_features, exclude_album_type=exclude_album_type)
if type(music_object) is Label: if type(music_object) is Label:
return cls.download_label(music_object, download_features=download_features, default_target=default_target, exclude_album_type=exclude_album_type) return cls.download_label(music_object, download_features=download_features, default_target=default_target, exclude_album_type=exclude_album_type)