Use LastConnectionMode for server test

This commit is contained in:
angelblue05 2019-01-20 04:46:18 -06:00
parent bdc747582d
commit 4b2a941c88

View file

@ -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: