Draft: Adapted Draft module for python3 compatibility - issue #995

This commit is contained in:
Yorik van Havre
2014-10-05 19:40:14 -03:00
parent 30abbabb58
commit 203fcb7a1b
13 changed files with 280 additions and 277 deletions

View File

@@ -100,7 +100,7 @@ class DraftWorkbench (Workbench):
FreeCADGui.addLanguagePath(":/translations")
FreeCADGui.addIconPath(":/icons")
except Exception as inst:
print inst
print(inst)
FreeCAD.Console.PrintError("Error: Initializing one or more of the Draft modules failed, Draft will not work as expected.\n")
# setup menus