On note un service comme redmarr uniquement si c'est effectivement le cas

darcs-hash:20040902092157-d1718-acf85ce4d7223916633910643a4ceedcf9dd23e8.gz
This commit is contained in:
bernat 2004-09-02 11:21:57 +02:00
parent ae62a7f13d
commit c1cfb3c8ae
2 changed files with 13 additions and 12 deletions

View file

@ -52,7 +52,7 @@ class switch(gen_config) :
a = self.db.search('chbre=%s' % chbre)['adherent']
action = ''
for adh in a :
if (((ann_scol in adh.paiement()) or ((ann_scol-1) in adh.paiement and localtime()[1]==9)) and 'bloq' not in adh.blacklist_actif()) :
if (((ann_scol in adh.paiement()) or ((ann_scol-1) in adh.paiement() and localtime()[1]==9)) and 'bloq' not in adh.blacklist_actif()) :
# Il faut activer la prise
anim('\tactivation chbre %s' % chbre)
action = 'enable'