mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-28 18:36:07 +00:00
Added check for wrong spotify username
This commit is contained in:
parent
f91dcc5c34
commit
6e8f4242e1
5
app.py
5
app.py
|
@ -101,7 +101,10 @@ def getUserFavorites(dz):
|
|||
def updateUserSpotifyPlaylists(user):
|
||||
if user == "" or not spotifyHelper.spotifyEnabled:
|
||||
return []
|
||||
return spotifyHelper.get_user_playlists(user)
|
||||
try:
|
||||
return spotifyHelper.get_user_playlists(user)
|
||||
except:
|
||||
return []
|
||||
|
||||
|
||||
def updateUserPlaylists(dz):
|
||||
|
|
Loading…
Reference in a new issue