main
Bob Mottram 2022-04-10 12:22:09 +01:00
parent 3521511d7f
commit 627cc1bf94
1 changed files with 1 additions and 2 deletions

View File

@ -2187,7 +2187,7 @@ class PubServer(BaseHTTPRequestHandler):
moderation_text = None
moderation_button = None
# get the moderation text first
print('moderation_params: ' + str(moderation_params))
moderation_params = moderation_params.replace('%40', '@')
for moderation_str in moderation_params.split('&'):
if moderation_str.startswith('moderationAction'):
if '=' in moderation_str:
@ -2196,7 +2196,6 @@ class PubServer(BaseHTTPRequestHandler):
mod_text = moderation_text.replace('+', ' ')
moderation_text = \
urllib.parse.unquote_plus(mod_text.strip())
print('moderation_text: ' + str(moderation_text))
# which button was pressed?
for moderation_str in moderation_params.split('&'):
if moderation_str.startswith('submitInfo'):