From 3030ddcd5056df010f08e0ac72fc9515b47ec37d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Jun 2021 18:04:29 +0100 Subject: [PATCH] Tidying --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index d0db0248a..7f1c97458 100644 --- a/daemon.py +++ b/daemon.py @@ -467,11 +467,11 @@ class PubServer(BaseHTTPRequestHandler): else: return True - blockedUA = False if not agentDomain: if self.server.userAgentDomainRequired: return True - return blockedUA + return False + blockedUA = False if not agentDomain.startswith(callingDomain): blockedUA = isBlockedDomain(self.server.baseDir, agentDomain) # if self.server.debug: