diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 90c1a423..4c8ce3eb 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -1705,8 +1705,7 @@ def menu_principal() : # (expérimental) # On récupère la liste des machines fixes - fixes = filter(lambda x: not x.ipsec(), proprio.machines()) - if not fixes or proprio.droits(): + if not proprio.machines_fixes() or proprio.droits(): arg = u'--title "Nouvelle machine" ' arg+= u'--menu "Type de machine ?" 0 0 0 ' arg+= u'"Fixe" "Machine fixe" '