mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Results: Fix db save where results do not correspond to scenario.
This commit is contained in:
1 parent
311df46a2c
commit
5c366839f3
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user