Bug Fred.

darcs-hash:20050313113843-d1718-1bcd985c280f48f1c318b9e22c8e002d726f5ce7.gz
This commit is contained in:
bernat 2005-03-13 12:38:43 +01:00
parent 9e0e937575
commit 737b40ac89

View file

@ -1688,7 +1688,8 @@ def menu_principal() :
if choix=='aMc' :
# Ajout d'une machine à l'adhérent courant
if proprio.etudes(0) != "ENS" or proprio.etudes(1) != "Pers":
if proprio.__class__ == club or proprio.etudes(0) != "ENS" or \
proprio.etudes(1) != "Pers":
arg = u'--title "Nouvelle machine" '
arg+= u'--menu "Type de machine ?" 0 0 0 '
arg+= u'"Fixe" "Machine fixe" '