Skip to content

Commit

Permalink
Arch: Encoding fix in DAE importer
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Aug 3, 2015
1 parent 617bd8c commit cfbcd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/importDAE.py
Expand Up @@ -50,7 +50,7 @@ def open(filename):
"called when freecad wants to open a file"
if not checkCollada():
return
docname = os.path.splitext(os.path.basename(filename))[0]
docname = (os.path.splitext(os.path.basename(filename))[0]).encode("utf8")
doc = FreeCAD.newDocument(docname)
doc.Label = decode(docname)
FreeCAD.ActiveDocument = doc
Expand Down

0 comments on commit cfbcd3a

Please sign in to comment.