mirror of https://gitlab.com/pamhyr/pamhyr2
Merge branch 'master' of gitlab-ssh.irstea.fr:theophile.terraz/pamhyr into terraz_dev
commit
c9c5bfe093
|
|
@ -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