mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
Corona: fix rankings/top10
This commit is contained in:
parent
02d372e3c5
commit
13922a792c
@ -446,7 +446,7 @@ class Corona(callbacks.Plugin):
|
||||
)
|
||||
i += 1
|
||||
self.countries[item[self.headers["countries"][0]]] = item
|
||||
rank = results.index(item)
|
||||
rank = results.index(item) - 1
|
||||
self.countries[item[self.headers["countries"][0]]]["rank"] = rank
|
||||
if rank > 0 and rank <= 10:
|
||||
top.append(
|
||||
|
Loading…
x
Reference in New Issue
Block a user