diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 4c7ec2af..62c28273 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -1842,9 +1842,8 @@ def menu_principal() : # (expérimental) # On récupère la liste des machines fixes - if caution_ok and \ - (proprio.__class__ == club or \ - not proprio.machines_fixes() or proprio.droits()): + if (proprio.__class__ == club or (caution_ok and \ + (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" ' @@ -1855,7 +1854,7 @@ def menu_principal() : elif not caution_ok: arg = u'--title "Nouvelle machine" ' arg+= u'--menu " Caution non payée\n\n' - arg+= u'Pour pouvoir incrire une machine fixe, il faut avoir' + arg+= u'Pour pouvoir incrire une machine fixe, il faut avoir ' arg+= u'payé la caution." 0 0 0 ' arg+= u'"OK" "OK, on lui rajoute une machine wifi" ' arg+= u'"Annul" "Bon, on abandonne..." '