Commit a237144e authored by Ant Zucaro's avatar Ant Zucaro

Provide the correct number of placeholder values.

parent cf9226da
......@@ -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(('-', '-', '-'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment