+ PrintError is not part of FreeCAD but FreeCAD.Console

This commit is contained in:
wmayer
2016-01-09 21:21:17 +01:00
parent 7caa5e057e
commit 7ee54c10aa

View File

@@ -38,7 +38,7 @@ def InitApplications():
try:
import sys,os,traceback,cStringIO
except ImportError:
FreeCAD.PrintError("\n\nSeems the python standard libs are not installed, bailing out!\n\n")
FreeCAD.Console.PrintError("\n\nSeems the python standard libs are not installed, bailing out!\n\n")
raise
# Checking on FreeCAD module path ++++++++++++++++++++++++++++++++++++++++++
ModDir = FreeCAD.getHomePath()+'Mod'