Get handle

merge-requests/8/head
Bob Mottram 2020-12-09 23:05:27 +00:00
parent 6e6c4f19bc
commit 1eee9cad10
1 changed files with 1 additions and 7 deletions

View File

@ -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