From 739f3a2f56711d855ad26338f283e4958127988e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 21 Aug 2019 17:42:00 +0100 Subject: [PATCH] Debug --- daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon.py b/daemon.py index 8a5d87ec2..9cc4c0e0e 100644 --- a/daemon.py +++ b/daemon.py @@ -2401,6 +2401,8 @@ class PubServer(BaseHTTPRequestHandler): if '&' in searchStr: searchStr=searchStr.split('&')[0] searchStr=searchStr.replace('+',' ').replace('%40','@').replace('%3A',':').replace('%23','#').strip() + if self.server.debug: + print('searchStr: '+searchStr) if searchForEmoji: searchStr=':'+searchStr+':' if searchStr.startswith('#'):