mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-07 07:31:36 +01:00
dirty hack overload because lazy
This commit is contained in:
@@ -103,7 +103,7 @@ def leaderboard():
|
|||||||
start = 0
|
start = 0
|
||||||
else:
|
else:
|
||||||
searchName = playersWithRank.split(",")[1].strip(" '")
|
searchName = playersWithRank.split(",")[1].strip(" '")
|
||||||
rank = int(playersWithRank.split(",")[4].strip(" ')"))
|
rank = int(playersWithRank.split(",")[4].strip(" ')]["))
|
||||||
start = rank - (rank % SEGMENT)
|
start = rank - (rank % SEGMENT)
|
||||||
|
|
||||||
end = start + SEGMENT
|
end = start + SEGMENT
|
||||||
|
|||||||
Reference in New Issue
Block a user