From 281fe051581b834f34955a41973aede35fcf2a0d Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 17 Apr 2021 14:01:56 +0200 Subject: [PATCH] Fix PKC not showing up as a casting target in some cases --- resources/lib/plexbmchelper/listener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/plexbmchelper/listener.py b/resources/lib/plexbmchelper/listener.py index 6774a4d8..58efff9a 100644 --- a/resources/lib/plexbmchelper/listener.py +++ b/resources/lib/plexbmchelper/listener.py @@ -92,7 +92,7 @@ class MyHandler(BaseHTTPRequestHandler): self.send_header('Content-Length', len(body)) self.send_header('Connection', "close") self.end_headers() - self.wfile.write(body) + self.wfile.write(body.encode('utf-8')) self.wfile.close() except Exception: pass