Results: Fix db save where results do not correspond to scenario.

This commit is contained in:
parouby committed 2026-05-26 10:28:41 +02:00
1 parent 311df46a2c
commit 5c366839f3
1 file changed
+1 -1
+1 -1
View File
@@ -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: