diff --git a/src/example_config.py b/src/example_config.py index 4e737f9..5bf16ef 100644 --- a/src/example_config.py +++ b/src/example_config.py @@ -6,6 +6,7 @@ authorization = "Bearer ..." cookies = "didomi_token=...; euconsent-v2=...; sticky__authentication=...; _dd_s=..." +customer_name = "Dupont" # Discord Webhooks error_url = "https://discord.com/api/webhooks/..." diff --git a/src/main.py b/src/main.py index 426f14c..724a483 100644 --- a/src/main.py +++ b/src/main.py @@ -77,7 +77,7 @@ def confirm_all(s, headers): if datetime.fromisoformat(travel.departureDateTime) >= now: print(travel) print(travel.travelConfirmed) - if (travel.travelConfirmed != "CONFIRMED" and travel.travelConfirmed != "TOO_EARLY_TO_CONFIRM"): + if (travel.travelConfirmed == "TO_BE_CONFIRMED"): travel.confirm(s, headers) if check_confirmed(travel, s, headers): utils.successDiscord(travel)