diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-16 14:42:09 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-16 14:42:09 -0400 |
commit | 98ea3805499ab6ba4137d74bc2894c8f8102fc1e (patch) | |
tree | b9aa83fa64f4727f9d632464c1734b7e7b19fd02 | |
parent | 50828cfb0953a3817bf3b2378f8d47e148f099ef (diff) | |
download | python-termcast-server-98ea3805499ab6ba4137d74bc2894c8f8102fc1e.tar.gz python-termcast-server-98ea3805499ab6ba4137d74bc2894c8f8102fc1e.zip |
a few more logging prints
-rw-r--r-- | ssh.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,11 +36,13 @@ class Connection(object): if self.watching_id is None: break + print("new viewer watching " + self.watching_id) self.publisher.notify("new_viewer", self.watching_id) while True: c = self.chan.recv(1) if c == b'q': + print("viewer stopped watching " + self.watching_id) self.publisher.notify("viewer_disconnect", self.watching_id) break |