From abb27a7251b328f660e39a0d957ed16a00cd383e Mon Sep 17 00:00:00 2001 From: robweber Date: Sat, 30 Nov 2019 09:33:21 -0600 Subject: [PATCH] attempt to force encoding after GetSetting call --- resources/lib/guisettings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/guisettings.py b/resources/lib/guisettings.py index 79ed085..14ed62d 100644 --- a/resources/lib/guisettings.py +++ b/resources/lib/guisettings.py @@ -17,7 +17,7 @@ class GuiSettingsManager: def run(self): #get a list of all the settings we can manipulate via json - json_response = json.loads(xbmc.executeJSONRPC('{"jsonrpc":"2.0", "id":1, "method":"Settings.GetSettings","params":{"level":"advanced"}}')) + json_response = json.loads(utils.encode(xbmc.executeJSONRPC('{"jsonrpc":"2.0", "id":1, "method":"Settings.GetSettings","params":{"level":"advanced"}}'))) settings = json_response['result']['settings'] currentSettings = {}