From 58cd67cc1a7a247faa8a865c3d0bfc166a0c2e0e Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Mon, 30 Nov 2020 14:57:08 +0800 Subject: [PATCH] Add debug warning --- routes/_hkfcD_motm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/_hkfcD_motm.py b/routes/_hkfcD_motm.py index 86f2991..3688d01 100644 --- a/routes/_hkfcD_motm.py +++ b/routes/_hkfcD_motm.py @@ -273,6 +273,7 @@ def hkfcD_vote_thanks(): else: identity = randomUrlSuffix(8) user_agent = request.headers.get('User-Agent') + warn("Identity and User-Agent set") id_commit = "INSERT INTO motmSessions (sessionID) VALUES ('" + identity + "')" ua_commit = "INSERT INTO motmSessions (userAgent) VALUES ('" + user_agent + "')" sql_write(id_commit)