diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index f2c42e00..1dde4e24 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -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" '