From ea336f6a227ccf72416fcfe8a22a48cafb7e647b Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 9 Sep 2016 01:33:56 -0500 Subject: [PATCH] Fix typo in migration --- resources/lib/initialsetup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/initialsetup.py b/resources/lib/initialsetup.py index 2e7b3674..15c35a20 100644 --- a/resources/lib/initialsetup.py +++ b/resources/lib/initialsetup.py @@ -80,7 +80,8 @@ class InitialSetup(object): current_server = self.user_client.get_server() if current_server is not None: server = self.connectmanager.get_server(current_server) - settings('ServerId', value=server['Id']) + log.info("Detected: %s", server) + settings('ServerId', value=server['Servers'][0]['Id']) self.user_client.get_userid() self.user_client.get_token() log.info("server migration completed")