Skip to content

Commit

Permalink
docs: Clarify same-day checkin functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
jdholtz authored and dmytrokoren committed Jun 11, 2024
1 parent 125c4b5 commit 9b8cac5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/checkin_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ def _attempt_check_in(self) -> JSON:
succeed after one attempt for non-same-day flights, but is necessary for
same-day flights.
Since the check-in is started early, the submission will go through for the
previous flight, but the flight attached to this handler will not have been
checked in yet. Therefore, this function keeps attempting to check in until
both flights have checked in.
For same-day flights: since the check-in is started early, the submission will
go through for the previous flight, but the flight attached to this handler will
not have been checked in yet. Therefore, this function keeps attempting to check
in until both flights have checked in.
"""
logger.debug("Submitting check-in with a POST request")
expected_flights = 2 if self.flight.is_same_day else 1
Expand Down

0 comments on commit 9b8cac5

Please sign in to comment.