master
Bob Mottram 2019-07-16 11:20:03 +01:00
parent a98facaf33
commit 700d3cf2f0
1 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,8 @@ class PubServer(BaseHTTPRequestHandler):
self.postToNickname, \ self.postToNickname, \
self.server.domain,messageJson,'outbox') self.server.domain,messageJson,'outbox')
if not self.server.session: if not self.server.session:
if self.server.debug:
print('DEBUG: creating new session for c2s')
self.server.session= \ self.server.session= \
createSession(self.server.domain,self.server.port,self.server.useTor) createSession(self.server.domain,self.server.port,self.server.useTor)
if self.server.debug: if self.server.debug: