FEM: correcting string comparison

This commit is contained in:
Sudhanshu Dubey
2020-09-08 07:48:56 +02:00
committed by Bernd Hahnebach
parent f82b570832
commit 4dcfd8caad
+1 -1
View File
@@ -251,7 +251,7 @@ def _getBesideBase(solver):
# doc.FileName
# the above returns an empty string in FreeCAD 0.19
# https://forum.freecadweb.org/viewtopic.php?f=10&t=48842
if path is "":
if path == "":
error_message = (
"Please save the file before executing the solver. "
"This must be done because the location of the working "