safety net

This commit is contained in:
mcinj 2022-05-04 22:46:13 -04:00
parent 1f1abb5b0d
commit 4a6acc66a1

View file

@ -122,7 +122,7 @@ class SteamGifts:
def evaluate_giveaways(self, page=1): def evaluate_giveaways(self, page=1):
n = page n = page
run = True run = True
while run: while run and n < 3: # hard stop safety net at page 3 as idk why we would ever get to this point
txt = "⚙️ Retrieving games from %d page." % n txt = "⚙️ Retrieving games from %d page." % n
logger.info(txt) logger.info(txt)