Adists: Scenario: Some minor fix.

This commit is contained in:
parouby committed 2025-08-13 15:03:25 +02:00
1 parent 4ac86b9acb
commit d7fcf62e12
12 files changed
+32 -32

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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}"
)