Added debug ccode
This commit is contained in:
parent
5defae4f51
commit
fad4932de5
@ -231,6 +231,7 @@ def hkfcD_vote_thanks():
|
|||||||
_fixed_comments = _comments.replace("'", "\\'")
|
_fixed_comments = _comments.replace("'", "\\'")
|
||||||
_matchDate = request.form['matchNumber']
|
_matchDate = request.form['matchNumber']
|
||||||
_oppo = request.form['oppo']
|
_oppo = request.form['oppo']
|
||||||
|
print(_matchDate)
|
||||||
|
|
||||||
if _motm and _dotd and request.method == 'POST':
|
if _motm and _dotd and request.method == 'POST':
|
||||||
prev_identity = request.cookies.get('sessionID')
|
prev_identity = request.cookies.get('sessionID')
|
||||||
@ -272,7 +273,6 @@ def hkfcD_vote_thanks():
|
|||||||
return resp
|
return resp
|
||||||
else:
|
else:
|
||||||
identity = randomUrlSuffix(8)
|
identity = randomUrlSuffix(8)
|
||||||
user_agent = request.headers.get('User-Agent')
|
|
||||||
print("Identity: " + identity)
|
print("Identity: " + identity)
|
||||||
print("User Agent: " + user_agent)
|
print("User Agent: " + user_agent)
|
||||||
warn("Identity and User-Agent set")
|
warn("Identity and User-Agent set")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user