aboutsummaryrefslogtreecommitdiffstats
path: root/termcast.py
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-15 01:44:55 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-15 01:45:36 -0400
commitef41303f8529f8fffb307c3cf3f2ccda1697caaf (patch)
tree4ee2db1d53b482b133309c6adba8d90bc9aa5a7e /termcast.py
parent070da900a4bdda26ee4ee00ad6e3d9fcb6aa262a (diff)
downloadpython-termcast-server-ef41303f8529f8fffb307c3cf3f2ccda1697caaf.tar.gz
python-termcast-server-ef41303f8529f8fffb307c3cf3f2ccda1697caaf.zip
this works now
Diffstat (limited to 'termcast.py')
-rw-r--r--termcast.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/termcast.py b/termcast.py
index c5495cf..d305dff 100644
--- a/termcast.py
+++ b/termcast.py
@@ -78,9 +78,8 @@ class Connection(object):
return
def msg_new_viewer(self, connection_id):
- # XXX restore this once we start passing in meaningful connection ids
- # if connection_id != self.connection_id:
- # return
+ if connection_id != self.connection_id:
+ return
self.publisher.notify("new_data", self.connection_id, self.handler.buf, b'')
def request_get_streamers(self):