From befbdf8675c4a6880a7f2da70084250d6b1d7c01 Mon Sep 17 00:00:00 2001 From: mcinj <98779161+mcinj@users.noreply.github.com> Date: Thu, 28 Apr 2022 19:30:57 -0400 Subject: [PATCH] logged messages using minutes instead of seconds --- src/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index f79ce2f..c2326e1 100644 --- a/src/main.py +++ b/src/main.py @@ -183,14 +183,15 @@ class SteamGifts: logger.info(txt) else: random_seconds = randint(900, 1400) - txt = f"You have {self.points} points which is below your minimum point threshold of {self.min_points} points. Sleeping for {random_seconds} seconds." + txt = f"You have {self.points} points which is below your minimum point threshold of " \ + f"{self.min_points} points. Sleeping for {random_seconds / 60} minutes." logger.info(txt) sleep(random_seconds) while True: self.evaluate_giveaways() random_seconds = randint(900, 1400) - logger.info(f"Going to sleep for {random_seconds} seconds.") + logger.info(f"Going to sleep for {random_seconds / 60 } minutes.") sleep(random_seconds) self.update_info()