Arch: Fixed encoding bug in ifc exporter

This commit is contained in:
Yorik van Havre
2018-04-23 19:08:51 -03:00
parent dfa12e34f4
commit 31c4b71ced

View File

@@ -1099,7 +1099,7 @@ def export(exportList,filename):
# getting generic data
name = str(obj.Label.encode("utf8"))
description = str(obj.Description) if hasattr(obj,"Description") else ""
description = str(obj.Description.encode("utf8")) if hasattr(obj,"Description") else ""
# getting uid
uid = None