Fixed sale count for steam offers
All checks were successful
Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 4m35s
All checks were successful
Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 4m35s
This commit is contained in:
parent
7a0f29f557
commit
b21c9f894f
@ -113,6 +113,8 @@ class SteamOfferWatcher(TaskABC):
|
||||
# todo: let admins change the value
|
||||
self._logger.debug(__name__, f"Get special offers from 0 to {sale_count}")
|
||||
for i in range(0, sale_count, 100):
|
||||
if i > sale_count:
|
||||
break
|
||||
new_offers.extend(self._get_games_from_page(i, 100))
|
||||
|
||||
self._logger.debug(__name__, f"Got {new_offers.count()} offers")
|
||||
|
Loading…
Reference in New Issue
Block a user