We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44f50db commit ce7b6f5Copy full SHA for ce7b6f5
1 file changed
OMPython/ModelicaSystem.py
@@ -2086,7 +2086,7 @@ def get_solutions(
2086
2087
sol_dict[resultfilename] = {}
2088
2089
- if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
+ if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
2090
sol_dict[resultfilename]['msg'] = 'No result file available!'
2091
sol_dict[resultfilename]['data'] = {}
2092
continue
0 commit comments