Spaces:
Sleeping
Sleeping
OnlyBiggg
commited on
Commit
·
7aa37ff
1
Parent(s):
aa1d17f
fix
Browse files- app/api/routes.py +1 -0
app/api/routes.py
CHANGED
|
@@ -223,6 +223,7 @@ async def booking_trip(request: Request) -> Response:
|
|
| 223 |
schedule_time_trip = "**" + "** | **".join(map(str, list_raw_departure_times)) + "**"
|
| 224 |
trips = []
|
| 225 |
routes_name = []
|
|
|
|
| 226 |
for trip in data:
|
| 227 |
if trip["route"] and trip["route"]["name"] not in routes_name:
|
| 228 |
routes_name.append(trip["route"]["name"])
|
|
|
|
| 223 |
schedule_time_trip = "**" + "** | **".join(map(str, list_raw_departure_times)) + "**"
|
| 224 |
trips = []
|
| 225 |
routes_name = []
|
| 226 |
+
print(data)
|
| 227 |
for trip in data:
|
| 228 |
if trip["route"] and trip["route"]["name"] not in routes_name:
|
| 229 |
routes_name.append(trip["route"]["name"])
|