Another follow up

Use a while loop instead.
This commit is contained in:
angelblue05 2015-05-12 03:16:34 -05:00
parent 8944012821
commit de527327a5
2 changed files with 9 additions and 2 deletions

View file

@ -269,7 +269,7 @@ class DownloadUtils():
if r.headers['X-Application-Error-Code'] == "ParentalControl":
# Parental control - access restricted
WINDOW.setProperty("Server_status", "restricted")
xbmcgui.Dialog().notification("Emby server", "Access restricted.", xbmcgui.NOTIFICATION_ERROR)
xbmcgui.Dialog().notification("Emby server", "Access restricted.", xbmcgui.NOTIFICATION_ERROR, time=5000)
return False
elif (status == "401") or (status == "Auth"):