Fix NameError when test is run in console mode

http://forum.freecadweb.org/viewtopic.php?f=10&t=17818
This commit is contained in:
triplus 2016-10-06 20:43:39 +02:00 committed by GitHub
parent 7ef31e499c
commit bca2792f11

View File

@ -29,8 +29,9 @@ __url__ = "http://www.freecadweb.org"
import FreeCAD
import FemTools
import QtCore
if FreeCAD.GuiUp:
from PySide import QtCore, QtGui
from PySide import QtGui
class FemToolsCcx(FemTools.FemTools):