We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d9e044 commit b1d0ddaCopy full SHA for b1d0dda
1 file changed
OMPython/ModelicaSystem.py
@@ -2095,7 +2095,7 @@ def get_solutions(
2095
2096
sol_dict[resultfilename] = {}
2097
2098
- if self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE] != True:
+ if not self._sim_dict[resultfilename][self.DICT_RESULT_AVAILABLE]:
2099
sol_dict[resultfilename]['msg'] = 'No result file available!'
2100
sol_dict[resultfilename]['data'] = {}
2101
continue
0 commit comments