Tweak for parental control

In case the server is also offline while access is restricted.
This commit is contained in:
angelblue05 2015-05-12 19:55:46 -05:00
parent b8d0289cb7
commit 8973bca9bf

View file

@ -173,7 +173,7 @@ class UserClient(threading.Thread):
url = "{server}/mediabrowser/Users" url = "{server}/mediabrowser/Users"
result = self.doUtils.downloadUrl(url) result = self.doUtils.downloadUrl(url)
if result is False: if result is False or result is "":
# Access is restricted # Access is restricted
self.logMsg("Access is restricted.") self.logMsg("Access is restricted.")
self.HasAccess = False self.HasAccess = False