Skip to content

Commit

Permalink
feat: add date message when check tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
Thungghuan committed Nov 9, 2022
1 parent a399d5f commit b1476a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def list_tickets(self):
for idx, bus in enumerate(tickets):
ticket_choices.append(
{
"name": "{}. {} {}".format(
idx + 1, bus["ruteName"], bus["startTime"]
"name": "{}. {} {} {}".format(
idx + 1, bus["ruteName"], bus["dateDeparture"], bus["startTime"]
),
"value": idx,
}
Expand All @@ -77,7 +77,7 @@ def list_tickets(self):
else:
self.ticket = tickets[choice]
self.change_state(CheckState.DETAIL)

return False

else:
Expand Down

0 comments on commit b1476a5

Please sign in to comment.