From f544552b5ff9287c44ca96a72874b57f5298311c Mon Sep 17 00:00:00 2001 From: marco <10120390+mac12m99@users.noreply.github.com> Date: Fri, 30 Sep 2022 20:20:08 +0200 Subject: [PATCH] prova --- core/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app.py b/core/app.py index 2db46f34..a079a33a 100644 --- a/core/app.py +++ b/core/app.py @@ -23,7 +23,7 @@ class MyServer(BaseHTTPRequestHandler): def call_url(url): webServer = HTTPServer((hostName, serverPort), MyServer) logger.info("Server started http://%s:%s" % (hostName, serverPort)) - s = jsontools.dump({'url': url}) + s = jsontools.dump({'url': url}).encode() xbmc.executebuiltin('StartAndroidActivity("",{})'.format(call.format(base64.b64encode(s), hostName, serverPort))) while not cookie_ricevuto: webServer.handle_request()