mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-07 15:41:35 +01:00
lowcap start at zero
This commit is contained in:
@@ -58,6 +58,8 @@ class Player:
|
|||||||
def requestRange(start, end):
|
def requestRange(start, end):
|
||||||
'''Request a range from the rating server'''
|
'''Request a range from the rating server'''
|
||||||
|
|
||||||
|
start = max(start, 0)
|
||||||
|
|
||||||
# request information from rating server #
|
# request information from rating server #
|
||||||
requestURL = BASE_URL.format(server=SERVER, \
|
requestURL = BASE_URL.format(server=SERVER, \
|
||||||
path=LOCATION, \
|
path=LOCATION, \
|
||||||
|
|||||||
Reference in New Issue
Block a user