1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-31 04:55:52 +01:00

unnecessary... maybe cause of python3

This commit is contained in:
Guido Serra
2019-08-14 18:07:56 +02:00
parent ffaa780c07
commit 6888489192

View File

@@ -479,7 +479,7 @@ def to_unicode(x):
if not isinstance(x, str):
return x
if isinstance(x, str):
return x.encode('utf-8')
return x
x = sanitize_escaped(x)