mirror of https://gitlab.com/pamhyr/pamhyr2
Results: Fix db save where results do not correspond to scenario.
parent
311df46a2c
commit
5c366839f3
|
|
@ -351,7 +351,7 @@ class Results(SQLSubModel):
|
|||
|
||||
def _db_save(self, execute, data=None):
|
||||
if self._status.scenario.id != self._owner_scenario:
|
||||
return
|
||||
return True
|
||||
|
||||
pid = self._pamhyr_id
|
||||
if self._solver is None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue