diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-15 01:44:55 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-15 01:45:36 -0400 |
commit | ef41303f8529f8fffb307c3cf3f2ccda1697caaf (patch) | |
tree | 4ee2db1d53b482b133309c6adba8d90bc9aa5a7e /ssh.py | |
parent | 070da900a4bdda26ee4ee00ad6e3d9fcb6aa262a (diff) | |
download | python-termcast-server-ef41303f8529f8fffb307c3cf3f2ccda1697caaf.tar.gz python-termcast-server-ef41303f8529f8fffb307c3cf3f2ccda1697caaf.zip |
this works now
Diffstat (limited to 'ssh.py')
-rw-r--r-- | ssh.py | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -15,8 +15,6 @@ class Connection(object): self.watching_id = self.select_stream() - # XXX need to have the user select a stream, and then pass the stream's - # id in here self.publisher.notify("new_viewer", self.watching_id) while True: @@ -47,9 +45,8 @@ class Connection(object): return self.select_stream() def msg_new_data(self, connection_id, prev_buf, data): - # XXX uncomment this once we implement stream selection - # if self.watching_id != connection_id: - # return + if self.watching_id != connection_id: + return if not self.initialized: self.chan.send(prev_buf) |