From c3e9b520d1720c6fe882e3fd9a447917f96fdd80 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Tue, 17 Mar 2020 13:01:03 +0800 Subject: [PATCH] modified: routes/_hkfcD_motm.py Updated comment section to make correct SQL call. --- 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 88658b8..c74d13b 100644 --- a/routes/_hkfcD_motm.py +++ b/routes/_hkfcD_motm.py @@ -60,7 +60,7 @@ def hkfcD_motm_vote(randomUrlSuffix): @routes.route('/hkfc-d/comments', methods=['GET', 'POST']) def hkfcd_match_comments(): sql = "SELECT nextClub, nextTeam, nextDate, oppoLogo, hkfcLogo FROM hkfcDAdminSettings" - row = sql_read(sql) + row = sql_read_static(sql) _oppo = row[0]['nextClub'] + " " + row[0]['nextTeam'] commentDate = row[0]['nextDate'].strftime('%Y-%m-%d') _matchDate = row[0]['nextDate'].strftime('%Y_%m_%d')