mirror of https://gitlab.com/pamhyr/pamhyr2
Model, geometry: Monir change.
parent
d76b09f224
commit
8ca1ac8fcf
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue