mirror of
https://github.com/gryf/wicd.git
synced 2026-02-23 10:35:51 +01:00
unnecessary... maybe cause of python3
This commit is contained in:
@@ -479,7 +479,7 @@ def to_unicode(x):
|
|||||||
if not isinstance(x, str):
|
if not isinstance(x, str):
|
||||||
return x
|
return x
|
||||||
if isinstance(x, str):
|
if isinstance(x, str):
|
||||||
return x.encode('utf-8')
|
return x
|
||||||
|
|
||||||
x = sanitize_escaped(x)
|
x = sanitize_escaped(x)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user