Forgot to finish except loop

This commit is contained in:
Kepoor Hampond 2017-04-30 12:02:47 -07:00
parent 350f2c6b55
commit 248b272c4b
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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