diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-15 00:41:45 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-15 00:41:45 -0400 |
commit | a306d46a1ee07504b56f8f1115b8693fdf7b92b5 (patch) | |
tree | b11287478ec2c3b4ec70516594dde01abe19c7e0 /ssh.py | |
parent | 33d96c5143da76252532da5f02fe96ab2a82732e (diff) | |
download | python-termcast-server-a306d46a1ee07504b56f8f1115b8693fdf7b92b5.tar.gz python-termcast-server-a306d46a1ee07504b56f8f1115b8693fdf7b92b5.zip |
allow different kinds of message publishing
Diffstat (limited to 'ssh.py')
-rw-r--r-- | ssh.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,7 +23,8 @@ class Connection(object): # XXX need to have the user select a stream, and then pass the stream's # id in here - self.publisher.publish("new_viewer", chan, "some-random-id") + contents = self.publisher.request_one("new_viewer", "some-random-id") + chan.send(contents) time.sleep(5) chan.close() |