Fix lokrez import

master
Lertsenem 2021-01-05 14:14:25 +01:00
parent d9ae5ae346
commit 132c469036
1 changed files with 7 additions and 1 deletions

View File

@ -395,6 +395,12 @@ def main():
top_players[player.gamerTag] = player top_players[player.gamerTag] = player
# Re-sort top players by their placement
top_players = sorted(
top_players.values(),
key = lambda p: p.placement,
)
else: else:
# Get infos from smash.gg and write the config file # Get infos from smash.gg and write the config file