fixed crash
This commit is contained in:
parent
ec6e55befe
commit
be3b21e63a
@ -240,7 +240,7 @@ class YouTube(Page):
|
|||||||
|
|
||||||
# if all attempts to get a clean artis name (mainly striping topic or getting the stuff in the api) fail, just add an artist with the name of the uploader channel
|
# if all attempts to get a clean artis name (mainly striping topic or getting the stuff in the api) fail, just add an artist with the name of the uploader channel
|
||||||
if len(artist_list) == 0:
|
if len(artist_list) == 0:
|
||||||
artist_list.append(Artist(_author))
|
artist_list.append(Artist(name=_author))
|
||||||
|
|
||||||
return Song(
|
return Song(
|
||||||
title=title,
|
title=title,
|
||||||
|
Loading…
Reference in New Issue
Block a user