aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/ws/bot.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-29 17:53:08 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-29 17:53:08 +0100
commit45919eeb10929c8f5af1e763555c5c9caf8cf40a (patch)
tree8d5917182d28ddc5b285192401ccc05349300e57 /pysite/views/ws/bot.py
parentMerge remote-tracking branch 'origin/master' (diff)
WS objects now keep track of their connections
Diffstat (limited to 'pysite/views/ws/bot.py')
-rw-r--r--pysite/views/ws/bot.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/pysite/views/ws/bot.py b/pysite/views/ws/bot.py
index 24af74df..816e7579 100644
--- a/pysite/views/ws/bot.py
+++ b/pysite/views/ws/bot.py
@@ -54,6 +54,3 @@ class BotWebsocket(WS, DBMixin):
def on_close(self):
self.log.debug("Bot | WS closed.")
self.do_changefeed = False
-
- def send_json(self, data):
- return self.send(json.dumps(data))