aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-15 02:22:43 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-15 02:22:43 -0400
commit28d067c6d814d8aa53c8b8541d0cedb630409197 (patch)
treed41576899da86af21ce3455c3e74a81dd532cbe7
parentb3a51431de65f65e35446b081a88bf1b80cdde96 (diff)
downloadpython-termcast-server-28d067c6d814d8aa53c8b8541d0cedb630409197.tar.gz
python-termcast-server-28d067c6d814d8aa53c8b8541d0cedb630409197.zip
notify clients when watchers connect
-rw-r--r--termcast.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/termcast.py b/termcast.py
index d305dff..e849fe8 100644
--- a/termcast.py
+++ b/termcast.py
@@ -81,6 +81,7 @@ class Connection(object):
if connection_id != self.connection_id:
return
self.publisher.notify("new_data", self.connection_id, self.handler.buf, b'')
+ self.client.send("msg watcher connected")
def request_get_streamers(self):
return {