mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Merge branch 'master' of gitlab-ssh.irstea.fr:theophile.terraz/pamhyr into terraz_dev
This commit is contained in:
commit
c9c5bfe093
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