From 87f77a769adf2c50d8795e65f969610d8736e201 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Thu, 26 Oct 2017 22:38:55 +0200 Subject: [PATCH] Fix path encodings --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index b68d693..be9f9e5 100644 --- a/main.py +++ b/main.py @@ -38,9 +38,9 @@ def application(env, re): val = True else: conn = True - cto = split[1] + cto = split[1].encode("latin-1").decode("utf-8") - cfrm = split[0] + cfrm = split[0].encode("latin-1").decode("utf-8") try: rtype = "conn" if conn else "val" if val else args["type"][0]