modifié: superTornado.py
This commit is contained in:
parent
9b4b75c9eb
commit
a2cd562f89
@ -95,9 +95,9 @@ class DisconnectionHandler(BaseHandler):
|
|||||||
|
|
||||||
class WSocketHandler(tornado.websocket.WebSocketHandler):
|
class WSocketHandler(tornado.websocket.WebSocketHandler):
|
||||||
def open(self) :
|
def open(self) :
|
||||||
if not self.current_user :
|
"""if not self.current_user :
|
||||||
self.close()
|
self.close()
|
||||||
return
|
return"""
|
||||||
print "->Websocket opened"
|
print "->Websocket opened"
|
||||||
while 1 :
|
while 1 :
|
||||||
try :
|
try :
|
||||||
|
Reference in New Issue
Block a user