logix fix
This commit is contained in:
parent
1f12a1ce32
commit
2f35c9e60e
1 changed files with 6 additions and 6 deletions
12
src/main.py
12
src/main.py
|
@ -143,15 +143,15 @@ class SteamGifts:
|
||||||
|
|
||||||
if self.points - int(game_cost) < 0:
|
if self.points - int(game_cost) < 0:
|
||||||
txt = f"⛔ Not enough points to enter: {game_name}"
|
txt = f"⛔ Not enough points to enter: {game_name}"
|
||||||
logger.info(txt)
|
logger.debug(txt)
|
||||||
continue
|
continue
|
||||||
if self.max_time_left > game_remaining_in_minutes:
|
if game_remaining_in_minutes > self.max_time_left:
|
||||||
txt = f"Game {game_name} has {game_remaining_in_minutes} left and is above your cutoff of {self.max_time_left} minutes."
|
txt = f"Game {game_name} has {game_remaining_in_minutes} minutes left and is above your cutoff of {self.max_time_left} minutes."
|
||||||
logger.info(txt)
|
logger.debug(txt)
|
||||||
continue
|
continue
|
||||||
if self.max_entries > game_entries:
|
if game_entries > self.max_entries:
|
||||||
txt = f"Game {game_name} has {game_entries} entries is above your cutoff of {self.max_entries} entries."
|
txt = f"Game {game_name} has {game_entries} entries is above your cutoff of {self.max_entries} entries."
|
||||||
logger.info(txt)
|
logger.debug(txt)
|
||||||
continue
|
continue
|
||||||
# defensive move
|
# defensive move
|
||||||
if self.points - int(game_cost) >= 0:
|
if self.points - int(game_cost) >= 0:
|
||||||
|
|
Loading…
Reference in a new issue