Fem: fix: system() is evaluated instead of calling it
This commit is contained in:
parent
b82a28cd89
commit
d8bbbc1d1d
|
@ -214,9 +214,9 @@ class _JobControlTaskPanel:
|
||||||
# the categories are shown only if they are not empty.
|
# the categories are shown only if they are not empty.
|
||||||
self.form=FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/Fem/MechanicalAnalysis.ui")
|
self.form=FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/Fem/MechanicalAnalysis.ui")
|
||||||
from platform import system
|
from platform import system
|
||||||
if system == 'Linux':
|
if system() == 'Linux':
|
||||||
self.CalculixBinary = 'ccx'
|
self.CalculixBinary = 'ccx'
|
||||||
elif system == 'Windows':
|
elif system() == 'Windows':
|
||||||
self.CalculixBinary = FreeCAD.getHomePath() + 'bin/ccx.exe'
|
self.CalculixBinary = FreeCAD.getHomePath() + 'bin/ccx.exe'
|
||||||
else:
|
else:
|
||||||
self.CalculixBinary = 'ccx'
|
self.CalculixBinary = 'ccx'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user