add decode utf8 importWebGL.py

This commit is contained in:
Jonathan Wiedemann 2016-05-18 17:25:54 +02:00
parent 9ef4a2e21b
commit 0f88536d42

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"