From 1eee9cad101ace73cdb4fe7b9f7fa9cbc9081a42 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Dec 2020 23:05:27 +0000 Subject: [PATCH] Get handle --- daemon.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/daemon.py b/daemon.py index 605508adf..55174b46f 100644 --- a/daemon.py +++ b/daemon.py @@ -1441,13 +1441,7 @@ class PubServer(BaseHTTPRequestHandler): moderationText = \ urllib.parse.unquote_plus(modText.strip()) elif moderationStr.startswith('submitInfo'): - searchHandle = None - if '=' in moderationStr: - moderationText = \ - moderationStr.split('=')[1].strip() - modText = moderationText.replace('+', ' ') - searchHandle = \ - urllib.parse.unquote_plus(modText.strip()) + searchHandle = moderationText if searchHandle: if '@' not in searchHandle: searchHandle = None