We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeb0b4c commit bb746f7Copy full SHA for bb746f7
1 file changed
OMPython/ModelicaSystem.py
@@ -1989,7 +1989,7 @@ def get_solutions(
1989
1990
sol_dict[resultfilename] = {}
1991
1992
- if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
+ if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
1993
sol_dict[resultfilename]['msg'] = 'No result file available!'
1994
sol_dict[resultfilename]['data'] = {}
1995
continue
0 commit comments