Merge pull request #5 from cvium/fix_manual_server

Fix manual server connection
This commit is contained in:
Vasily 2019-02-04 14:31:30 +03:00 committed by GitHub
commit 5f5e4bcaed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ class ConnectionManager(object):
tests = []
if server.get('LastConnectionMode') is not None:
if server.get('LastConnectionMode') is not None and server.get('AccessToken'):
tests.append(server['LastConnectionMode'])
if CONNECTION_MODE['Manual'] not in tests: