add decode utf8 importWebGL.py

This commit is contained in:
Jonathan Wiedemann
2016-05-18 17:25:54 +02:00
parent e1d1a99aff
commit 054470bc94

View File

@@ -117,7 +117,7 @@ def export(exportList,filename):
outfile = pythonopen(filename,"wb")
outfile.write(html)
outfile.close()
FreeCAD.Console.PrintMessage(translate("Arch","successfully written ")+filename+"\n")
FreeCAD.Console.PrintMessage(translate("Arch","successfully written ").decode("utf8")+filename+"\n")
def getHTML(objectsList):
"returns the complete HTML code of a viewer for the given objects"