Merge pull request #5 from cvium/fix_manual_server
Fix manual server connection
This commit is contained in:
commit
5f5e4bcaed
|
@ -206,7 +206,7 @@ class ConnectionManager(object):
|
||||||
|
|
||||||
tests = []
|
tests = []
|
||||||
|
|
||||||
if server.get('LastConnectionMode') is not None:
|
if server.get('LastConnectionMode') is not None and server.get('AccessToken'):
|
||||||
tests.append(server['LastConnectionMode'])
|
tests.append(server['LastConnectionMode'])
|
||||||
|
|
||||||
if CONNECTION_MODE['Manual'] not in tests:
|
if CONNECTION_MODE['Manual'] not in tests:
|
||||||
|
|
Loading…
Reference in New Issue