Fem: fix: system() is evaluated instead of calling it

This commit is contained in:
Bernd Hahnebach
2015-03-24 12:53:46 +01:00
parent b82a28cd89
commit d8bbbc1d1d
+2 -2
View File
@@ -214,9 +214,9 @@ class _JobControlTaskPanel:
# the categories are shown only if they are not empty.
self.form=FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/Fem/MechanicalAnalysis.ui")
from platform import system
if system == 'Linux':
if system() == 'Linux':
self.CalculixBinary = 'ccx'
elif system == 'Windows':
elif system() == 'Windows':
self.CalculixBinary = FreeCAD.getHomePath() + 'bin/ccx.exe'
else:
self.CalculixBinary = 'ccx'