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(
lambda n: n.id == row[3], data["nodes"]),
None)
if tmp is not none None:
if tmp is not not None:
bc.node = tmp.id
else:
bc.node = -1