From ca36eeb0d0053d855c415833d6013d48dbf7bf67 Mon Sep 17 00:00:00 2001 From: chambart Date: Mon, 1 Oct 2007 05:15:28 +0200 Subject: [PATCH] correction syntaxe darcs-hash:20071001031528-aaf26-f43d877e144216826ecf8188a4d0fc693a775f40.gz --- radius_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radius_auth.py b/radius_auth.py index 789d9b32..6f400fa6 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[0] in (1,2,3): # On laisse 3 jours ou les gens ont une page sur squid ann_scol -= 1 if ann_scol > paid: