py3: fix dxf import

This commit is contained in:
looooo
2018-04-12 17:20:00 +02:00
committed by wmayer
parent be5ea8391c
commit d977014992

View File

@@ -187,6 +187,9 @@ def decodeName(name):
except UnicodeDecodeError:
print("dxf: error: couldn't determine character encoding")
decodedName = name
except AttributeError:
# this is python3 (nothing to do)
decodedName = name
return decodedName
def deformat(text):