From 98ea3805499ab6ba4137d74bc2894c8f8102fc1e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 16 Sep 2014 14:42:09 -0400 Subject: a few more logging prints --- ssh.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssh.py b/ssh.py index b07b31c..f82a76d 100644 --- a/ssh.py +++ b/ssh.py @@ -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 -- cgit v1.2.3-54-g00ecf