mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Basic: Fix load sql request.
This commit is contained in:
1 parent
02bbdf9fda
commit
ce45776a63
1 file changed
+2
-1
@@ -97,7 +97,8 @@ class BasicHS(SQLSubModel):
|
|||||||
|
|
||||||
table = execute(
|
table = execute(
|
||||||
"SELECT id, name, type, enabled, hs " +
|
"SELECT id, name, type, enabled, hs " +
|
||||||
"FROM hydraulic_structures_basic "
|
"FROM hydraulic_structures_basic " +
|
||||||
|
f"WHERE hs = {data['hs_id']} "
|
||||||
)
|
)
|
||||||
|
|
||||||
for row in table:
|
for row in table:
|
||||||
|
|||||||
Reference in new issue
Block a user