Removed vote code

This commit is contained in:
Jonathan Ervine 2020-11-25 21:29:47 +08:00
parent 8c9b95a723
commit 8a834b9424

View File

@ -248,9 +248,9 @@ def hkfcD_vote_thanks():
else: else:
### The matchDate has been replaced with the matchNumber - this should be corrected at some point (via a fixture table lookup) ### 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 + "')" sql3 = "INSERT INTO _motmComments (_matchDate, opposition, comment) VALUES ('" + _matchDate + "', '" + _oppo + "', '" + _fixed_comments + "')"
sql_write(sql3) #sql_write(sql3)
sql_write(sql) #sql_write(sql)
sql_write(sql2) #sql_write(sql2)
resp = make_response(render_template('_hkfcDVoteThanks.html')) resp = make_response(render_template('_hkfcDVoteThanks.html'))
resp.set_cookie('sessionID', identity) resp.set_cookie('sessionID', identity)
return resp return resp