mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Adists: Fix update.
This commit is contained in:
1 parent
3ef13666dc
commit
072840a18c
6 files changed
+28
-5
No files matched your search
@@ -303,6 +303,9 @@ class SQLSubModel(PamhyrID):
|
||||
f"SELECT pamhyr_id, reach FROM {table}"
|
||||
)
|
||||
|
||||
if els is None:
|
||||
return True
|
||||
|
||||
for row in els:
|
||||
it = iter(row)
|
||||
pid = next(it)
|
||||
@@ -317,6 +320,8 @@ class SQLSubModel(PamhyrID):
|
||||
f"WHERE pamhyr_id = {pid}"
|
||||
)
|
||||
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def _db_update_to_0_1_1_assoc_section_from_rk(
|
||||
cls, execute, table,
|
||||
|
||||
Reference in new issue
Block a user