mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-30 07:21:16 -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
|
i += 1
|
||||||
self.countries[item[self.headers["countries"][0]]] = item
|
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
|
self.countries[item[self.headers["countries"][0]]]["rank"] = rank
|
||||||
if rank > 0 and rank <= 10:
|
if rank > 0 and rank <= 10:
|
||||||
top.append(
|
top.append(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user