modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-02 21:27:41 +01:00
parent 1c52cd5174
commit 9c261054e0
1 changed files with 1 additions and 1 deletions

View File

@ -95,6 +95,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
print '->Send visual alarm authorized user'
print 'maison.request("GET", "micom/lamp.php?room=salon1&order=1")'
print "->Authorized user access"
self.clear_cookie("user")
self.send_image()
def on_message(self,mesg):
@ -117,7 +118,6 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
print '->Send visual alarm deconnection user'
print 'maison.request("GET", "micom/lamp.php?room=salon1&order=0")'
print"->"+iden+" Deconnection"
self.clear_cookie("user")
def send_image(self) :
try :