1
Fork 0
mirror of https://github.com/Steffo99/steamleaderboards.git synced 2024-11-21 15:24:18 +00:00

Fix entry limiting in Leaderboard

Fixes #1 (again).

How did I forget that?
This commit is contained in:
Steffo 2024-05-27 03:54:49 +02:00
parent af5940ffcd
commit eda2c178e0
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -93,6 +93,7 @@ class Leaderboard:
self.entries.append(Entry(entry))
if len(self.entries) >= limit:
next_request_url = None
self.entries = self.entries[:limit]
break
else:
try: