mirror of
https://github.com/cooperhammond/irs.git
synced 2024-11-09 18:48:33 +00:00
Forgot to finish except loop
This commit is contained in:
parent
350f2c6b55
commit
248b272c4b
|
@ -14,7 +14,6 @@ install:
|
|||
- python setup.py install
|
||||
|
||||
script:
|
||||
- irs -u "spotify" -p "Coffee Table Jazz"
|
||||
- python tests/album.py
|
||||
- python tests/playlist.py
|
||||
- python tests/post_processors.py
|
||||
|
|
|
@ -210,7 +210,9 @@ with init, or in method arguments.")
|
|||
elif type == "playlist":
|
||||
try:
|
||||
list_of_lists = self.spotify.user_playlists(username)["items"]
|
||||
except
|
||||
except spotipy.client.SpotifyException:
|
||||
print("No user was found by that name.")
|
||||
return False
|
||||
|
||||
if len(list_of_lists) > 0:
|
||||
the_list = None
|
||||
|
|
Loading…
Reference in a new issue