No more logging outside reservation window
This commit is contained in:
@@ -214,7 +214,7 @@ class Booker:
|
||||
time.sleep(60)
|
||||
else:
|
||||
# Display message when outside booking window
|
||||
logging.info(f"Not booking now - current time {current_time} is outside the booking window ({target_time} to {booking_window_end})")
|
||||
# logging.info(f"Not booking now - current time {current_time} is outside the booking window ({target_time} to {booking_window_end})")
|
||||
# Check again in 5 minutes if outside booking window
|
||||
time.sleep(300)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user