mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BHS: Fix where profile RK has changed.
This commit is contained in:
1 parent
3adce567df
commit
149b150eda
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