FEM: correcting string comparison

This commit is contained in:
Sudhanshu Dubey
2020-08-15 02:18:44 +05:30
committed by Bernd Hahnebach
parent f82b570832
commit 4dcfd8caad

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 "