Model, geometry: Monir change.

results
Pierre-Antoine Rouby 2023-07-03 11:15:53 +02:00
parent d76b09f224
commit 8ca1ac8fcf
2 changed files with 4 additions and 2 deletions

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]

View File

@ -38,7 +38,6 @@ class StricklersList(SQLSubModel):
return new
def _sql_save(self, execute, data = None):
if len(self._stricks) != 0:
execute("DELETE FROM stricklers")
objs = self._stricks