diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 75c0e4ee..c4401a7e 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -1857,19 +1857,6 @@ def menu_principal(): annul, result = dialog(arg) if annul: continue choix= result[0] - 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'payé la caution." 0 0 0 ' - arg += u'"OK" "OK, on lui rajoute une machine wifi" ' - arg += u'"Annul" "Bon, on abandonne..." ' - annul, result = dialog(arg) - if annul or result[0] == "Annul": continue - if result[0] == "OK": - choix = 'Wifi' - else: - continue else: # Plus de machine fixe possible... arg = u'--title "Nouvelle machine" '