inversion du test d'adherent payant pour la modification

darcs-hash:20080909175223-af139-fa51f2dcdf316f5c713b0ca9f2659c7fd063ad5b.gz
This commit is contained in:
Jeremie Dimino 2008-09-09 19:52:23 +02:00
parent 97d88d2766
commit 82a0a15f52

View file

@ -1480,7 +1480,7 @@ def modif_adher(adher):
arg += u'--msgbox "ERREUR : la chambre de cet adhérent est inconnue !\n\n\n" 0 0'
dialog(arg)
else:
payant = not isinstance(adher, Club) and not adher.adherentPayant()
payant = not isinstance(adher, Club) and adher.adherentPayant()
arg = u'--title "Modification de %s" ' % adher.Nom()
arg += u'--menu "Que souhaitez vous modifier ?" 0 0 0 '