Model, geometry: Monir change.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-07-03 11:15:53 +02:00
1 parent d76b09f224
commit 8ca1ac8fcf
2 files changed
+4 -2

No files matched your search

+3
View File
@@ -49,6 +49,9 @@ class Stricklers(SQLSubModel):
"FROM stricklers"
)
if table is None:
return None
for row in table:
name = row[0]
comment = row[1]
+1 -2
View File
@@ -38,8 +38,7 @@ class StricklersList(SQLSubModel):
return new
def _sql_save(self, execute, data = None):
if len(self._stricks) != 0:
execute("DELETE FROM stricklers")
execute("DELETE FROM stricklers")
objs = self._stricks
return self._save_submodel(execute, objs, data)