some keywords can't be decoded
parent
fd63dbf62e
commit
1e5db2b02d
|
@ -160,10 +160,7 @@ def keyword_name(x):
|
|||
else:
|
||||
name=x.name
|
||||
if six.PY3:
|
||||
try:
|
||||
name = str(name,'utf-8')
|
||||
except:
|
||||
pass
|
||||
name = str(name,'utf-8','ignore')
|
||||
return name
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue