From ad499ff344b70e9009c96e0fa1964298f8766f34 Mon Sep 17 00:00:00 2001 From: dimino Date: Mon, 1 Oct 2007 05:26:10 +0200 Subject: [PATCH] correction. darcs-hash:20071001032610-7b604-f4f667ab24fae2fc460bb1d279a713a38d7d996f.gz --- radius_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radius_auth.py b/radius_auth.py index 6f400fa6..5758c956 100755 --- a/radius_auth.py +++ b/radius_auth.py @@ -54,7 +54,7 @@ def do_auth(mac): if dat[1] in (8, 9): # En septembre les anciennes adhésions sont OK ann_scol -= 1 - elif dat[1] == 10 and dat[0] in (1,2,3): + elif dat[1] == 10 and dat[2] in (1,2,3): # On laisse 3 jours ou les gens ont une page sur squid ann_scol -= 1 if ann_scol > paid: