mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Pamhyr: Fix tests and pep8.
This commit is contained in:
1 parent
4790b9c071
commit
c183e5016c
2 files changed
+12
-5
No files matched your search
+4
-1
@@ -355,7 +355,10 @@ class River(Graph, SQLSubModel):
|
||||
)
|
||||
|
||||
def _db_save_delete_artefact_where_not_id(self, execute, data,
|
||||
table:str, els:list):
|
||||
table: str, els: list):
|
||||
if len(els) == 0:
|
||||
return
|
||||
|
||||
try:
|
||||
execute(
|
||||
f"DELETE FROM {table} " +
|
||||
|
||||
Reference in new issue
Block a user