mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Tweak for parental control
In case the server is also offline while access is restricted.
This commit is contained in:
parent
b8d0289cb7
commit
8973bca9bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue