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 = []
if server.get('LastConnectionMode') is not None:
#tests.append(server['LastConnectionMode'])
pass
tests.append(server['LastConnectionMode'])
if CONNECTION_MODE['Manual'] not in tests:
tests.append(CONNECTION_MODE['Manual'])
if CONNECTION_MODE['Local'] not in tests: