1
Fork 0
mirror of https://github.com/Steffo99/steamleaderboards.git synced 2024-10-16 06:17:29 +00:00

Fix another critical bug. Oops again.

This commit is contained in:
Steffo 2019-02-06 19:45:30 +01:00
parent 283441b63c
commit ea69d6c55f
2 changed files with 3 additions and 1 deletions

View file

@ -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",

View file

@ -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