From e8596fb544245f6d5587ffc7a7b02890f297a2b4 Mon Sep 17 00:00:00 2001 From: mcinj <98779161+mcinj@users.noreply.github.com> Date: Sat, 14 May 2022 18:50:19 -0400 Subject: [PATCH] stuff --- src/SteamGifts.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/SteamGifts.py b/src/SteamGifts.py index 6bf3294..5c015b5 100644 --- a/src/SteamGifts.py +++ b/src/SteamGifts.py @@ -182,20 +182,22 @@ class SteamGifts: for item in unentered_game_list: giveaway = Giveaway(item) - txt = f"〰️ {giveaway.game_name} - {giveaway.cost}P - {giveaway.game_entries} entries (w/ {giveaway.copies} " \ - f"copies) - Created {giveaway.time_created_string} ago with {giveaway.time_remaining_string} remaining." + txt = f"〰️ {giveaway.game_name} - {giveaway.cost}P - {giveaway.game_entries} entries " \ + f"(w/ {giveaway.copies} copies) - Created {giveaway.time_created_string} ago " \ + f"with {giveaway.time_remaining_string} remaining by {giveaway.user}." logger.info(txt) if giveaway.pinned and not self.pinned: logger.info(f"〰️ Giveaway {giveaway.game_name} is pinned. Ignoring.") continue if self.points == 0 or self.points < self.min_points: - txt = f"〰 We have {self.points} points, but we need {self.min_points} to start." + txt = f"🟡 We have {self.points} points, but we need {self.min_points} to start." logger.info(txt) run = False break if not giveaway.cost: + logger.error(f"Cost could not be determined for '{giveaway.game_name}'") continue if_enter_giveaway = self.should_we_enter_giveaway(giveaway) if if_enter_giveaway: