From 8709cc4ee546bc619e8464510f293d13d4e7b72e Mon Sep 17 00:00:00 2001 From: clavel Date: Mon, 10 Oct 2005 18:16:35 +0200 Subject: [PATCH] les clubs ont le droit a plusieurs machines fixes darcs-hash:20051010161635-cc39d-dda6d47eb32e3152d383d23d2e9a562d11f159c7.gz --- gestion/gest_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 9b33119f..a99092c7 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -1711,7 +1711,7 @@ def menu_principal() : # (expérimental) # On récupère la liste des machines fixes - if not proprio.machines_fixes() or proprio.droits(): + if proprio.__class__ == club or 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" '