Fix lokrez import
parent
d9ae5ae346
commit
132c469036
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue