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

+3 -3
View File
@@ -100,7 +100,7 @@ class OutputRKAdists(SQLSubModel):
if int(release) < 7:
cls._db_create(execute)
if major == "0" and int(minor) <= 2:
elif major == "0" and int(minor) <= 2:
if int(release) <= 0:
cls._db_update_to_0_2_0(execute, data)
@@ -137,7 +137,7 @@ class OutputRKAdists(SQLSubModel):
status = data["status"]
table = execute(
"SELECT id, reach, rk, title " +
"SELECT pamhyr_id, reach, rk, title " +
f"FROM OutputRKAdists"
)
@@ -164,7 +164,7 @@ class OutputRKAdists(SQLSubModel):
sql = (
"INSERT INTO " +
"OutputRKAdists(id, reach, rk, title) " +
"OutputRKAdists(pamhyr_id, reach, rk, title) " +
"VALUES (" +
f"{self.id}, {self._reach}, {self._rk}, " +
f"'{self._db_format(self._title)}'" +