Python 3 fix & arc cmd line tool fix

This commit is contained in:
Gene Shuman committed 2017-01-23 14:58:55 -08:00
1 parent 7f28c44e81
commit 029fb80dc7
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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