mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BHS: Fix previous commit.
This commit is contained in:
1 parent
149b150eda
commit
932e4a0f98
1 file changed
+1
-1
@@ -156,7 +156,7 @@ class BasicHydraulicStructuresWindow(PamhyrWindow):
|
||||
else:
|
||||
profiles = None
|
||||
|
||||
if profiles is not None or len(profiles) != 0:
|
||||
if profiles is not None and len(profiles) != 0:
|
||||
profile = profiles[0]
|
||||
else:
|
||||
profile = None
|
||||
|
||||
Reference in new issue
Block a user