From b4a12a8a91b6f3bee60e69bdfab60ddc9a86bf4c Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Thu, 26 Nov 2020 15:14:47 +0800 Subject: [PATCH] Write votes to DB again --- routes/_hkfcD_motm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/_hkfcD_motm.py b/routes/_hkfcD_motm.py index 009b85b..e77f265 100644 --- a/routes/_hkfcD_motm.py +++ b/routes/_hkfcD_motm.py @@ -260,9 +260,9 @@ def hkfcD_vote_thanks(): else: ### The matchDate has been replaced with the matchNumber - this should be corrected at some point (via a fixture table lookup) sql3 = "INSERT INTO _motmComments (_matchDate, opposition, comment) VALUES ('" + _matchDate + "', '" + _oppo + "', '" + _fixed_comments + "')" - #sql_write(sql3) - #sql_write(sql) - #sql_write(sql2) + sql_write(sql3) + sql_write(sql) + sql_write(sql2) resp = make_response(render_template('_hkfcDVoteThanks.html')) expire_date = datetime.now() expire_date = expire_date + timedelta(days=90)