This commit is contained in:
Theophile Terraz committed 2024-12-09 09:28:00 +01:00
1 parent 8c697a9621
commit e56d88937a
3 files changed
+3 -4

No files matched your search

@@ -109,7 +109,7 @@ class BoundaryConditionAdisTS(SQLSubModel):
tmp = next(filter(
lambda n: n.id == row[3], data["nodes"]),
None)
if tmp != None:
if tmp is not none None:
bc.node = tmp.id
else:
bc.node = -1