aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ssh.py2
1 files changed, 2 insertions, 0 deletions
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