dirty hack overload because lazy

This commit is contained in:
Yannik Schmidt
2020-04-14 17:55:54 +02:00
parent e28257a5c3
commit f08da7b2cd

View File

@@ -103,7 +103,7 @@ def leaderboard():
start = 0
else:
searchName = playersWithRank.split(",")[1].strip(" '")
rank = int(playersWithRank.split(",")[4].strip(" ')"))
rank = int(playersWithRank.split(",")[4].strip(" ')]["))
start = rank - (rank % SEGMENT)
end = start + SEGMENT