We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a01ac9 commit a9e92bdCopy full SHA for a9e92bd
OMPython/ModelicaSystem.py
@@ -1982,7 +1982,7 @@ def get_solutions(
1982
1983
sol_dict[resultfilename] = {}
1984
1985
- if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
+ if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
1986
sol_dict[resultfilename]['msg'] = 'No result file available!'
1987
sol_dict[resultfilename]['data'] = {}
1988
continue
0 commit comments