Les clubs n'ont pas de caution

darcs-hash:20060109112358-d1718-d90e64302249f3d6ca27c61d753cdc6977fd9c9b.gz
This commit is contained in:
bernat 2006-01-09 12:23:58 +01:00
parent 53a33c5a86
commit 35bbac9f51

View file

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