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
@@ -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)}'" +
|
||||
|
||||
Reference in new issue
Block a user