Skip to content

armgit / fli

Public Imported from GitHub
0

Google Flights MCP, CLI and Python Library

Fix FlightSegment travel date to departure

Punit Arani70ea8f9a1950
diff --git a/fli/app/main.py b/fli/app/main.py
index 8b123ee..137b792 100644
--- a/fli/app/main.py
+++ b/fli/app/main.py
@@ -170,7 +170,7 @@ if st.button("Search Flights", type="primary", use_container_width=True):
FlightSegment(
departure_airport=[[departure_airport, 0]],
arrival_airport=[[arrival_airport, 0]],
- travel_date=date_from.strftime("%Y-%m-%d"),
+ travel_date=departure_date.strftime("%Y-%m-%d"),
time_restrictions=time_restrictions,
)
],