aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-15 02:15:54 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-15 02:15:54 -0400
commitb3a51431de65f65e35446b081a88bf1b80cdde96 (patch)
treec858e865e60c1c94289d5d89000ad091ddaa87ba
parent06485aea1e9a77b7f9ed09c6e5de093c2c89d76c (diff)
downloadpython-termcast-server-b3a51431de65f65e35446b081a88bf1b80cdde96.tar.gz
python-termcast-server-b3a51431de65f65e35446b081a88bf1b80cdde96.zip
don't break if we get an ssh connection before a termcast connection
-rw-r--r--ssh.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh.py b/ssh.py
index c320aa2..0758d49 100644
--- a/ssh.py
+++ b/ssh.py
@@ -19,6 +19,7 @@ class Connection(object):
self.connection_id = connection_id
self.publisher = publisher
self.initialized = False
+ self.watching_id = None
def run(self):
self.transport.start_server(server=Server())