mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Use LastConnectionMode for server test
This commit is contained in:
parent
bdc747582d
commit
4b2a941c88
1 changed files with 2 additions and 2 deletions
|
@ -255,8 +255,8 @@ class ConnectionManager(object):
|
||||||
tests = []
|
tests = []
|
||||||
|
|
||||||
if server.get('LastConnectionMode') is not None:
|
if server.get('LastConnectionMode') is not None:
|
||||||
#tests.append(server['LastConnectionMode'])
|
tests.append(server['LastConnectionMode'])
|
||||||
pass
|
|
||||||
if CONNECTION_MODE['Manual'] not in tests:
|
if CONNECTION_MODE['Manual'] not in tests:
|
||||||
tests.append(CONNECTION_MODE['Manual'])
|
tests.append(CONNECTION_MODE['Manual'])
|
||||||
if CONNECTION_MODE['Local'] not in tests:
|
if CONNECTION_MODE['Local'] not in tests:
|
||||||
|
|
Loading…
Reference in a new issue