Commit b1497b8d authored by Andrea Brancaleoni's avatar Andrea Brancaleoni

Removed Deceptive Method

parent 6c46d1fd
......@@ -188,10 +188,6 @@ class StatusHandler(tornado.websocket.WebSocketHandler):
self.write_message(latest)
LOG.debug('Registered client')
def on_message(self, message):
"""Disconnect clients sending data (they should not)."""
LOG.warning('Client sent a message: disconnected.')
def on_close(self):
"""Unregister this handler when the connection is closed."""
StatusHandler.CLIENTS.unregister(self)
......@@ -417,4 +413,4 @@ class MACUpdateHandler(BaseHandler):
def check_xsrf_cookie(self):
# Since this is an API call, we need to disable anti-XSRF protection
pass
\ No newline at end of file
pass
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment