This commit is contained in:
Theophile Terraz committed 2024-12-09 14:04:48 +01:00
1 parent e56d88937a
commit 95612e8ce9
1 file changed
+1 -1
@@ -109,7 +109,7 @@ class BoundaryConditionAdisTS(SQLSubModel):
tmp = next(filter( tmp = next(filter(
lambda n: n.id == row[3], data["nodes"]), lambda n: n.id == row[3], data["nodes"]),
None) None)
if tmp is not none None: if tmp is not not None:
bc.node = tmp.id bc.node = tmp.id
else: else:
bc.node = -1 bc.node = -1