From a237144e066a1e89215f1c2d77179ae5f2f1fa7d Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sat, 19 Jan 2019 09:00:34 -0500 Subject: [PATCH] Provide the correct number of placeholder values. --- xonstat/views/map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xonstat/views/map.py b/xonstat/views/map.py index 75c3373..7241a77 100644 --- a/xonstat/views/map.py +++ b/xonstat/views/map.py @@ -401,10 +401,10 @@ def map_info(request): recent_games_count = 20 for i in range(leaderboard_count-len(mapinfo_data['top_scorers'])): - mapinfo_data['top_scorers'].append(('-', '-', '-')) + mapinfo_data['top_scorers'].append(('-', '-', '-', '-')) for i in range(leaderboard_count-len(mapinfo_data['top_players'])): - mapinfo_data['top_players'].append(('-', '-', '-')) + mapinfo_data['top_players'].append(('-', '-', '-', '-')) for i in range(leaderboard_count-len(mapinfo_data['top_servers'])): mapinfo_data['top_servers'].append(('-', '-', '-')) -- 2.39.2