Fix path encodings
This commit is contained in:
parent
3c89689f6b
commit
87f77a769a
4
main.py
4
main.py
|
@ -38,9 +38,9 @@ def application(env, re):
|
||||||
val = True
|
val = True
|
||||||
else:
|
else:
|
||||||
conn = True
|
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:
|
try:
|
||||||
rtype = "conn" if conn else "val" if val else args["type"][0]
|
rtype = "conn" if conn else "val" if val else args["type"][0]
|
||||||
|
|
Loading…
Reference in a new issue