mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2025-01-01 04:16:08 +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):
|
def updateUserSpotifyPlaylists(user):
|
||||||
if user == "" or not spotifyHelper.spotifyEnabled:
|
if user == "" or not spotifyHelper.spotifyEnabled:
|
||||||
return []
|
return []
|
||||||
return spotifyHelper.get_user_playlists(user)
|
try:
|
||||||
|
return spotifyHelper.get_user_playlists(user)
|
||||||
|
except:
|
||||||
|
return []
|
||||||
|
|
||||||
|
|
||||||
def updateUserPlaylists(dz):
|
def updateUserPlaylists(dz):
|
||||||
|
|
Loading…
Reference in a new issue