Fix QP retrieval

This commit is contained in:
Yax 2015-09-20 12:36:06 +02:00
parent f7093cb029
commit 5f97260b7b

View file

@ -121,7 +121,7 @@ def report():
def accept_comment():
try:
id = request.args.get('id', '')
id = request.args.get('comment', 0)
secret = request.args.get('secret', '')
if secret != config.SECRET:
@ -141,7 +141,7 @@ def accept_comment():
def reject_comment():
try:
id = request.args.get('id', '')
id = request.args.get('comment', 0)
secret = request.args.get('secret', '')
if secret != config.SECRET: