Programmatically get barcode
This commit is contained in:
parent
4b8fe23789
commit
4819c7dfcd
@ -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/..."
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user