Corona: fix rankings/top10

This commit is contained in:
oddluck 2020-04-04 20:34:57 +00:00
parent 02d372e3c5
commit 13922a792c

View File

@ -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(