From 19194f3d3022636f60368074e7237d2ff291d026 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 23 Oct 2021 23:58:18 +0100 Subject: [PATCH] list --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index f190d8bb9..e84433801 100644 --- a/daemon.py +++ b/daemon.py @@ -521,9 +521,9 @@ class PubServer(BaseHTTPRequestHandler): """Should a GET or POST be blocked based upon its user agent? """ agentStrLower = agentStr.lower() - defaultAgentBlocks = ( + defaultAgentBlocks = [ 'fedilist.com' - ) + ] for uaBlock in defaultAgentBlocks: if uaBlock in agentStrLower: print('Blocked User agent: ' + uaBlock)