+ PrintError is not part of FreeCAD but FreeCAD.Console

This commit is contained in:
wmayer 2016-01-09 21:21:17 +01:00
parent fa3d8c4824
commit 64a20a83cc

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'