fix <16 error

This commit is contained in:
looooo
2016-02-08 20:13:44 +01:00
parent 75f2189852
commit e54cc4d8cf
2 changed files with 6 additions and 6 deletions

View File

@@ -26,8 +26,8 @@ import gearfunc
try:
from FreeCADGui import Workbench
except ImportError as e:
App.Console.Warning("you are using the GearWorkbench with an old version of FreeCAD (<0.16)")
App.Console.Warning("the class Workbench is loaded, allthough not imported: magic")
App.Console.PrintWarning("you are using the GearWorkbench with an old version of FreeCAD (<0.16)")
App.Console.PrintWarning("the class Workbench is loaded, allthough not imported: magic")
class gearWorkbench(Workbench):
"""glider workbench"""

File diff suppressed because one or more lines are too long