STUPID mistake

This commit is contained in:
Hellow 2023-04-04 22:57:47 +02:00
parent acb1d86b17
commit 357038f8f6
2 changed files with 7 additions and 4 deletions

View File

@ -50,4 +50,4 @@ def real_download():
if __name__ == "__main__": if __name__ == "__main__":
real_download() music_kraken.cli()

View File

@ -343,20 +343,23 @@ class Page:
return cls.download_song( return cls.download_song(
music_object, music_object,
override_existing=override_existing, override_existing=override_existing,
create_target_on_demand=create_target_on_demand create_target_on_demand=create_target_on_demand,
genre=genre
) )
if type(music_object) is Album: if type(music_object) is Album:
return cls.download_album( return cls.download_album(
music_object, music_object,
default_target=default_target, default_target=default_target,
override_existing=override_existing override_existing=override_existing,
genre=genre
) )
if type(music_object) is Artist: if type(music_object) is Artist:
return cls.download_artist( return cls.download_artist(
music_object, music_object,
default_target=default_target, default_target=default_target,
download_features=download_features, download_features=download_features,
exclude_album_type=exclude_album_type exclude_album_type=exclude_album_type,
genre=genre
) )
if type(music_object) is Label: if type(music_object) is Label:
return cls.download_label( return cls.download_label(