unnecessary... maybe cause of python3
This commit is contained in:
1 parent
ffaa780c07
commit
6888489192
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user