Python 3 fix & arc cmd line tool fix
This commit is contained in:
1 parent
7f28c44e81
commit
029fb80dc7
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -80,6 +80,6 @@ def get_txt(name):
|
||||
except UnicodeDecodeError:
|
||||
return None
|
||||
txt = _get_txt(unicode_name)
|
||||
if txt:
|
||||
if type(txt) is str:
|
||||
txt = txt.encode('utf-8')
|
||||
return txt
|
||||
Reference in new issue
Block a user