From fad4932de59085e421848c9c9f8e964b04229711 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Mon, 30 Nov 2020 15:39:59 +0800 Subject: [PATCH] Added debug ccode --- routes/_hkfcD_motm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/_hkfcD_motm.py b/routes/_hkfcD_motm.py index 832f7f4..1f6dbf7 100644 --- a/routes/_hkfcD_motm.py +++ b/routes/_hkfcD_motm.py @@ -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")