mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
3ed59c88a6
commit
3521511d7f
|
@ -2187,6 +2187,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
moderation_text = None
|
||||
moderation_button = None
|
||||
# get the moderation text first
|
||||
print('moderation_params: ' + str(moderation_params))
|
||||
for moderation_str in moderation_params.split('&'):
|
||||
if moderation_str.startswith('moderationAction'):
|
||||
if '=' in moderation_str:
|
||||
|
@ -2195,6 +2196,7 @@ 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'):
|
||||
|
|
Loading…
Reference in New Issue