mirror of https://gitlab.com/pamhyr/pamhyr2
BHS: Fix previous commit.
parent
149b150eda
commit
932e4a0f98
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue