summaryrefslogtreecommitdiff
path: root/playoff.py
diff options
context:
space:
mode:
Diffstat (limited to 'playoff.py')
-rw-r--r--playoff.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/playoff.py b/playoff.py
index 36cfb35..9537ef4 100644
--- a/playoff.py
+++ b/playoff.py
@@ -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):