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