BHS: Fix previous commit.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-10-07 15:34:28 +02:00
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