dev into staging #414

Merged
edraft merged 58 commits from dev into staging 2023-11-04 17:47:24 +01:00
Showing only changes of commit b21c9f894f - Show all commits

View File

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