dev into staging #414
@ -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