mirror of
https://github.com/Steffo99/steamleaderboards.git
synced 2024-11-21 15:24:18 +00:00
Fix another critical bug. Oops again.
This commit is contained in:
parent
283441b63c
commit
ea69d6c55f
2 changed files with 3 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ with open("README.md", "r") as f:
|
|||
|
||||
setuptools.setup(
|
||||
name="steamleaderboards",
|
||||
version="0.0.2",
|
||||
version="0.0.3",
|
||||
author="Stefano Pigozzi",
|
||||
author_email="ste.pigozzi@gmail.com",
|
||||
description="A wrapper for the Steam Leaderboards",
|
||||
|
|
|
@ -90,6 +90,8 @@ class Leaderboard:
|
|||
entry_end = int(_bs.response.entryend.text)
|
||||
if entry_end < int(_bs.response.totalleaderboardentries.text):
|
||||
next_request_url = f"https://steamcommunity.com/stats/{app_id}/leaderboards/{lbid}/?xml=1&start={entry_end + 1}"
|
||||
else:
|
||||
next_request_url = None
|
||||
else:
|
||||
next_request_url = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue