From 011874cd5ffc3b982dd3b4e81fce2ba272d7e974 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Mon, 3 Mar 2014 18:20:58 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superTornado.py b/superTornado.py index 8a55c42..1a6d7ce 100644 --- a/superTornado.py +++ b/superTornado.py @@ -131,7 +131,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): self.write_message(encoded) log.printL( "->Data send : " + self.request.remote_ip, 20) except Exception, e : - log.printL(e.value,40) + log.printL(e,40) self.write_message("error") application = tornado.web.Application([ @@ -183,5 +183,5 @@ if __name__ == "__main__": tornado.ioloop.IOLoop.instance().start() except Exception, e : log.printL("Server Start Failed !",40) - log.printL(e.value,40) + log.printL(e,40) sys.exit(1)