From a6e206a8fa7766303384a7448d456fe1c85fea5c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Aug 2019 21:11:38 +0100 Subject: [PATCH] Debug --- daemon.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 67afb681..d47349ec 100644 --- a/daemon.py +++ b/daemon.py @@ -2357,9 +2357,12 @@ class PubServer(BaseHTTPRequestHandler): return searchForEmoji=False - if authorized and self.path.endswith('/searchhandleemoji'): + if self.path.endswith('/searchhandleemoji'): searchForEmoji=True self.path=self.path.replace('/searchhandleemoji','/searchhandle') + if self.server.debug: + print('DEBUG: searching for emoji') + print('authorized: '+str(authorized)) # a search was made if authorized and \