Fixed six.py2 -> PY2
This commit is contained in:
@@ -1942,7 +1942,7 @@ def export(exportList,filename):
|
||||
val = sheet.get('D'+str(n))
|
||||
else:
|
||||
val = ''
|
||||
if six.py2 and isinstance(key, six.text_type):
|
||||
if six.PY2 and isinstance(key, six.text_type):
|
||||
key = key.encode("utf8")
|
||||
else:
|
||||
key = str(key)
|
||||
|
||||
Reference in New Issue
Block a user