diff options
author | emkael <emkael@tlen.pl> | 2017-07-31 14:32:55 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-07-31 14:32:55 +0200 |
commit | 1a0d4323cd25b1653663013ca3183fb0b67a878e (patch) | |
tree | 394753a2d5323785af5f6eb4965d7cc7b3c562c6 /playoff.py | |
parent | fe210ab9a010cd89dad111fd30d297d82cdd28d9 (diff) |
<tr> classes indicating winners/losers of completed matches
Diffstat (limited to 'playoff.py')
-rw-r--r-- | playoff.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -53,6 +53,8 @@ def get_match_table(match): rows = '' for team in match.teams: rows += p_temp.MATCH_TEAM_ROW % ( + ' '.join(['winner' if team.name == match.winner else '', + 'loser' if team.name == match.loser else '']).strip(), match.link, team.name, ' / '.join([get_shortname(name) for name in team.name.split('<br />')]), |