From 4227ab94deb9e975b2dbc02de8a8f117ef1bbd16 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 25 Nov 2020 11:11:03 +0000 Subject: [PATCH] Debug --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index 111e2908..b473c981 100644 --- a/daemon.py +++ b/daemon.py @@ -4931,6 +4931,7 @@ class PubServer(BaseHTTPRequestHandler): if '?page=' in hashtag: hashtag = hashtag.split('?page=')[0] if isBlockedHashtag(baseDir, hashtag): + print('BLOCK: hashtag #' + hashtag) msg = htmlHashtagBlocked(self.server.cssCache, baseDir, self.server.translate).encode('utf-8') self._login_headers('text/html', len(msg), callingDomain)