diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 7bbd2775..6d26c27b 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1862,7 +1862,7 @@ class BaseProprietaire(BaseClasseCrans): if len(c.args) == 2: old_adh = c.args[1] r = prompt(u"Changer %s de chambre ? [O/N]" % old_adh.Nom(), "n") - if r == 'o' or r == 'o': + if r == 'O' or r == 'o': old_adh.chbre('????') old_adh.save() self.chbre(new_ch) diff --git a/surveillance/filtrage_firewall.py b/surveillance/filtrage_firewall.py index 950253f2..01bc2033 100755 --- a/surveillance/filtrage_firewall.py +++ b/surveillance/filtrage_firewall.py @@ -72,7 +72,7 @@ filtre = os.popen("tail -F /var/log/firewall/filtre.log 2> /dev/null") # On matche les log du firewall avec les motifs : ################################################# -for log in filtre : +for log in filtre: resultat_p2p = motif_p2p.match(log) resultat_virus = motif_virus.match(log) resultat_flood = motif_flood.match(log)