From 9dbcf8f20e196d34e7e6237680eb99032beebcec Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 16 Apr 2020 19:54:38 +0100 Subject: [PATCH] Tidying --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index f89913012..3879cc44c 100644 --- a/daemon.py +++ b/daemon.py @@ -793,7 +793,8 @@ class PubServer(BaseHTTPRequestHandler): # check for blocked domains so that they can be rejected early messageDomain = None if messageJson.get('actor'): - messageDomain,messagePort = getDomainFromActor(messageJson['actor']) + messageDomain, messagePort = \ + getDomainFromActor(messageJson['actor']) if isBlockedDomain(self.server.baseDir, messageDomain): print('POST from blocked domain ' + messageDomain) self._400()