diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/SSLServer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/SSLServer.py b/src/lib/SSLServer.py index bb0f61198..fa7d4e145 100644 --- a/src/lib/SSLServer.py +++ b/src/lib/SSLServer.py @@ -201,7 +201,7 @@ class XMLRPCRequestHandler (SimpleXMLRPCServer.SimpleXMLRPCRequestHandler): try: username, password = auth_content.split(":") except TypeError: - username, pw = auth_content.split(b":") + username, pw = auth_content.split(bytes(":", encoding='utf-8')) password = pw.decode('utf-8') except ValueError: username = auth_content |