Fix if server is selected but unavailable

This commit is contained in:
angelblue05 2019-01-14 01:21:07 -06:00
parent 3007e1d7cd
commit 40fa688526
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ class ConnectionManager(object):
if first_server is not None and first_server['DateLastAccessed'] != "2001-01-01T00:00:00Z":
result = self.connect_to_server(first_server, options)
if result['State'] == CONNECTION_STATE['SignedIn']:
if result['State'] in (CONNECTION_STATE['SignedIn'], CONNECTION_STATE['Unavailable']):
return result
# Return loaded credentials if exists