From b698d2e0e1519b820bab45afd0ea65d6b45a9d61 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Thu, 27 Jul 2017 17:48:14 +0200 Subject: [PATCH] Show local PMS as local --- resources/lib/dialogs/serverconnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/dialogs/serverconnect.py b/resources/lib/dialogs/serverconnect.py index a25f83bd..83db8ea5 100644 --- a/resources/lib/dialogs/serverconnect.py +++ b/resources/lib/dialogs/serverconnect.py @@ -68,7 +68,7 @@ class ServerConnect(xbmcgui.WindowXMLDialog): self.list_ = self.getControl(LIST) for server in self.servers: - server_type = "wifi" if server.get('ExchangeToken') else "network" + server_type = "wifi" if server.get('local') == '0' else "network" self.list_.addItem(self._add_listitem(server['Name'], server['Id'], server_type)) self.getControl(USER_NAME).setLabel("%s %s" % (lang(33000), self.username.decode('utf-8')))