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
0483a2463b
1 file changed
+2
-1
@@ -155,7 +155,8 @@ class BasicHydraulicStructuresWindow(PamhyrWindow):
|
|||||||
profiles = reach.reach.get_profiles_from_rk(float(profile_rk))
|
profiles = reach.reach.get_profiles_from_rk(float(profile_rk))
|
||||||
else:
|
else:
|
||||||
profiles = None
|
profiles = None
|
||||||
if profiles is not None:
|
|
||||||
|
if profiles is not None or len(profiles) != 0:
|
||||||
profile = profiles[0]
|
profile = profiles[0]
|
||||||
else:
|
else:
|
||||||
profile = None
|
profile = None
|
||||||
|
|||||||
Reference in new issue
Block a user