From 700d3cf2f0b6dc9bb20e611760e29925e8b6fb33 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 16 Jul 2019 11:20:03 +0100 Subject: [PATCH] debug --- daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon.py b/daemon.py index dbaa19e77..b29377fe2 100644 --- a/daemon.py +++ b/daemon.py @@ -160,6 +160,8 @@ class PubServer(BaseHTTPRequestHandler): self.postToNickname, \ self.server.domain,messageJson,'outbox') if not self.server.session: + if self.server.debug: + print('DEBUG: creating new session for c2s') self.server.session= \ createSession(self.server.domain,self.server.port,self.server.useTor) if self.server.debug: