Fix lokrez import
parent
d9ae5ae346
commit
132c469036
|
@ -395,6 +395,12 @@ def main():
|
|||
|
||||
top_players[player.gamerTag] = player
|
||||
|
||||
# Re-sort top players by their placement
|
||||
top_players = sorted(
|
||||
top_players.values(),
|
||||
key = lambda p: p.placement,
|
||||
)
|
||||
|
||||
else:
|
||||
|
||||
# Get infos from smash.gg and write the config file
|
||||
|
@ -470,7 +476,7 @@ def main():
|
|||
def getTournamentTop(
|
||||
id_or_slug,
|
||||
get_prefixes = True,
|
||||
top=8,
|
||||
top = 8,
|
||||
token = "",
|
||||
proxy = None,
|
||||
log=LOG_DUMMY):
|
||||
|
|
Loading…
Reference in New Issue