mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug
This commit is contained in:
1 parent
1b2f98494b
commit
7d42c164fc
2 files changed
+12
-11
No files matched your search
@@ -277,18 +277,19 @@ class SedimentLayer(SQLSubModel):
|
||||
"FROM sedimentary_layer "
|
||||
)
|
||||
|
||||
for row in table:
|
||||
sl = cls(
|
||||
id=row[0],
|
||||
name=row[1],
|
||||
comment=row[2],
|
||||
status=data['status']
|
||||
)
|
||||
if table is not None:
|
||||
for row in table:
|
||||
sl = cls(
|
||||
id=row[0],
|
||||
name=row[1],
|
||||
comment=row[2],
|
||||
status=data['status']
|
||||
)
|
||||
|
||||
data["sl"] = sl.id
|
||||
sl._layers = Layer._db_load(execute, data)
|
||||
data["sl"] = sl.id
|
||||
sl._layers = Layer._db_load(execute, data)
|
||||
|
||||
new.append(sl)
|
||||
new.append(sl)
|
||||
|
||||
return new
|
||||
|
||||
|
||||
Reference in new issue
Block a user