fixed crash

This commit is contained in:
Hellow 2023-07-27 21:01:01 +02:00
parent ec6e55befe
commit be3b21e63a

View File

@ -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 len(artist_list) == 0:
artist_list.append(Artist(_author))
artist_list.append(Artist(name=_author))
return Song(
title=title,