Merge pull request #166 from angelblue05/develop

Use LastConnectionMode for server test
This commit is contained in:
angelblue05 2019-01-20 04:47:15 -06:00 committed by GitHub
commit 8730d61f9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: