diff --git a/gestion/annuaires.py b/gestion/annuaires.py index 964a90e1..db7f07e4 100755 --- a/gestion/annuaires.py +++ b/gestion/annuaires.py @@ -511,6 +511,7 @@ def all_switchs(bat=None): switchs.append("bat%s" % b) else: switchs.append("bat%s-%s" % (b, n)) + switchs.sort() return switchs # Locaux clubs : lecture dans chbre_prises et ajout des locaux dans les bats non