forked from indymedia/epicyon
questionparams
parent
bb5951a74d
commit
0a3652ae0d
|
@ -3259,12 +3259,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# post being voted on
|
# post being voted on
|
||||||
messageId=None
|
messageId=None
|
||||||
if 'messageId=' in questionParams:
|
if 'messageId=' in questionParams:
|
||||||
messageId=searchParams.split('messageId=')[1]
|
messageId=questionParams.split('messageId=')[1]
|
||||||
if '&' in messageId:
|
if '&' in messageId:
|
||||||
messageId=messageId.split('&')[0]
|
messageId=messageId.split('&')[0]
|
||||||
answer=None
|
answer=None
|
||||||
if 'answer=' in questionParams:
|
if 'answer=' in questionParams:
|
||||||
answer=searchParams.split('answer=')[1]
|
answer=questionParams.split('answer=')[1]
|
||||||
if '&' in answer:
|
if '&' in answer:
|
||||||
answer=answer.split('&')[0]
|
answer=answer.split('&')[0]
|
||||||
print('Voting on message '+messageId)
|
print('Voting on message '+messageId)
|
||||||
|
|
Loading…
Reference in New Issue