dev #1

Merged
jonny merged 16 commits from dev into master 2020-11-20 06:00:02 +00:00
Showing only changes of commit c3e9b520d1 - Show all commits

View File

@ -60,7 +60,7 @@ def hkfcD_motm_vote(randomUrlSuffix):
@routes.route('/hkfc-d/comments', methods=['GET', 'POST']) @routes.route('/hkfc-d/comments', methods=['GET', 'POST'])
def hkfcd_match_comments(): def hkfcd_match_comments():
sql = "SELECT nextClub, nextTeam, nextDate, oppoLogo, hkfcLogo FROM hkfcDAdminSettings" 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'] _oppo = row[0]['nextClub'] + " " + row[0]['nextTeam']
commentDate = row[0]['nextDate'].strftime('%Y-%m-%d') commentDate = row[0]['nextDate'].strftime('%Y-%m-%d')
_matchDate = row[0]['nextDate'].strftime('%Y_%m_%d') _matchDate = row[0]['nextDate'].strftime('%Y_%m_%d')