From: Ant Zucaro Date: Sat, 19 Jan 2019 14:00:34 +0000 (-0500) Subject: Provide the correct number of placeholder values. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a237144e066a1e89215f1c2d77179ae5f2f1fa7d;p=xonotic%2Fxonstat.git Provide the correct number of placeholder values. --- 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(('-', '-', '-'))