From b84dfe96e9bbdd4146c9f35494a9688afd904265 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Fri, 28 Feb 2014 05:19:02 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- superTornado.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/superTornado.py b/superTornado.py index 435d92b..48c4d11 100644 --- a/superTornado.py +++ b/superTornado.py @@ -92,10 +92,10 @@ class DisconnectionHandler(BaseHandler): def post(self): if not self.current_user : iden="IllegalUser" - ficLog.enregDansLog(iden,"Authorized user deconnection","IP TO DO") - else : - iden = self.current_use ficLog.enregDansLog(iden,"Unauthorized user deconnection","IP TO DO") + else : + iden = self.current_user + ficLog.enregDansLog(iden,"Authorized user deconnection","IP TO DO") if confAveug == True: