mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Adists: Scenario: Some minor fix.
This commit is contained in:
1 parent
4ac86b9acb
commit
d7fcf62e12
12 files changed
+32
-32
No files matched your search
@@ -78,7 +78,7 @@ class DIFAdisTS(SQLSubModel):
|
||||
if int(release) < 6:
|
||||
cls._db_create(execute)
|
||||
|
||||
if major == "0" and int(minor) < 2:
|
||||
elif major == "0" and int(minor) < 2:
|
||||
cls._db_update_to_0_2_0(execute, data)
|
||||
|
||||
return True
|
||||
|
||||
@@ -43,7 +43,7 @@ class DIFAdisTSList(PamhyrModelList):
|
||||
|
||||
def _db_save(self, execute, data=None):
|
||||
execute(
|
||||
"DELETE FROM dif_adists" +
|
||||
"DELETE FROM dif_adists " +
|
||||
f"WHERE scenario = {self._status.scenario_id}"
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user