Update bcs_plugin.py

This commit is contained in:
Ayush Saini 2023-03-07 23:52:09 +05:30 committed by GitHub
parent 9d2d44109c
commit 8a262fe86a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ class BsDataThread(object):
print("stats reset is required , please clear out stats.json records , or download fresh stats.json from github")
import _ba
_ba.quit()
entries.sort(reverse=True)
entries.sort(key=lambda x: x[1] or 0, reverse=True)
rank=0
for entry in entries:
rank+=1