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
@ -470,7 +476,7 @@ def main():
def getTournamentTop( def getTournamentTop(
id_or_slug, id_or_slug,
get_prefixes = True, get_prefixes = True,
top=8, top = 8,
token = "", token = "",
proxy = None, proxy = None,
log=LOG_DUMMY): log=LOG_DUMMY):