Fix a syntax error

This commit is contained in:
Ritiek Malhotra
2017-06-16 12:39:36 +05:30
committed by GitHub
parent 34ae941d63
commit b1647ee76b

View File

@@ -356,7 +356,7 @@ def grab_list(file):
for raw_song in lines:
try:
grab_single(raw_song, number=number)
except spotipy.oauth2.SpotifyOauthError::
except spotipy.oauth2.SpotifyOauthError:
token = generate_token()
global spotify
spotify = spotipy.Spotify(auth=token)