diff options
author | emkael <emkael@tlen.pl> | 2017-07-31 17:34:59 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-07-31 17:34:59 +0200 |
commit | dcd1eb8c42841b1027f08f563d8d20ad307ec640 (patch) | |
tree | 662036a6b13bae9229590822e89e01979d6582f0 /playoff.py | |
parent | f3483de272394454a44c9928f81b9195ccdbe78e (diff) |
Team flag can be set to NULL
Diffstat (limited to 'playoff.py')
-rw-r--r-- | playoff.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -46,7 +46,8 @@ def get_shortname(fullname): def get_team_image(fullname): for team in settings['teams']: if team[0] == fullname and len(team) > 2: - return p_temp.LEADERBOARD_ROW_FLAG % (team[2]) + if team[2] is not None: + return p_temp.LEADERBOARD_ROW_FLAG % (team[2]) return '' def get_match_table(match): |