From df5d048dee6f9d8bbfdfe4ae49ab83312520dde0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 4 Nov 2019 11:01:04 +0000 Subject: [PATCH] Tidying --- daemon.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/daemon.py b/daemon.py index eb448c23..04ba0148 100644 --- a/daemon.py +++ b/daemon.py @@ -468,19 +468,20 @@ class PubServer(BaseHTTPRequestHandler): createSession(self.server.domain,self.server.port,self.server.useTor) if self.server.debug: print('DEBUG: sending c2s post to followers') - followersThread=sendToFollowersThread(self.server.session, \ - self.server.baseDir, \ - self.postToNickname, \ - self.server.domain, \ - self.server.port, \ - self.server.httpPrefix, \ - self.server.federationList, \ - self.server.sendThreads, \ - self.server.postLog, \ - self.server.cachedWebfingers, \ - self.server.personCache, \ - messageJson,self.server.debug, \ - self.server.projectVersion) + followersThread= \ + sendToFollowersThread(self.server.session, \ + self.server.baseDir, \ + self.postToNickname, \ + self.server.domain, \ + self.server.port, \ + self.server.httpPrefix, \ + self.server.federationList, \ + self.server.sendThreads, \ + self.server.postLog, \ + self.server.cachedWebfingers, \ + self.server.personCache, \ + messageJson,self.server.debug, \ + self.server.projectVersion) self.server.followersThreads.append(followersThread) # retain up to 10 threads if len(self.server.followersThreads)>10: