Plus besoin de caution pour rajouter une machine fixe.

darcs-hash:20060831153643-68412-fcc37b9f79413c3f6599f64037f09ec4fc44b9fb.gz
This commit is contained in:
glondu 2006-08-31 17:36:43 +02:00
parent 8780000940
commit a85ad28b70

View file

@ -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" '