Draft: Minor bugfix

This commit is contained in:
Yorik van Havre
2018-07-24 17:10:18 -03:00
parent 64c760f537
commit 111c0496b4

View File

@@ -157,7 +157,7 @@ class todo:
func()
FreeCAD.ActiveDocument.commitTransaction()
except:
wrn = "[Draft.todo.commit] Unexpected error:", sys.exc_info()[0], "in ", f, "(", arg, ")"
wrn = "[Draft.todo.commit] Unexpected error:", sys.exc_info()[0], "in ", func
FreeCAD.Console.PrintWarning (wrn)
# restack Draft screen widgets after creation
if hasattr(FreeCADGui,"Snapper"):