mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Fix variable names
This commit is contained in:
@@ -34,7 +34,7 @@ def generate_metadata(raw_song):
|
|||||||
album = spotify.album(meta_tags['album']['id'])
|
album = spotify.album(meta_tags['album']['id'])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
meta_tags[u'genre'] = titlecase(artist_id['genres'][0])
|
meta_tags[u'genre'] = titlecase(artist['genres'][0])
|
||||||
except IndexError:
|
except IndexError:
|
||||||
meta_tags[u'genre'] = None
|
meta_tags[u'genre'] = None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user