From 6afd99b6093ea0a71e6f0b568a056c3f0a665036 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 9 Sep 2016 01:58:19 -0500 Subject: [PATCH] Fix settings name typo --- resources/lib/initialsetup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/initialsetup.py b/resources/lib/initialsetup.py index 15c35a20..55c461a3 100644 --- a/resources/lib/initialsetup.py +++ b/resources/lib/initialsetup.py @@ -81,7 +81,8 @@ class InitialSetup(object): if current_server is not None: server = self.connectmanager.get_server(current_server) log.info("Detected: %s", server) - settings('ServerId', value=server['Servers'][0]['Id']) + server_id = server['Servers'][0]['Id'] + settings('serverId', value=server_id) self.user_client.get_userid() self.user_client.get_token() log.info("server migration completed") @@ -94,6 +95,7 @@ class InitialSetup(object): server_address = self.connectmanager.get_address(server) self._set_server(server_address, server) #self._set_user(server['UserId'], server['AccessToken']) + log.info("Found server!") return True return False