mirror of https://gitlab.com/pamhyr/pamhyr2
HS: Basic: Fix load sql request.
parent
02bbdf9fda
commit
ce45776a63
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue