Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -237,7 +237,7 @@ def get_specific_flights(day, max_delay, departure_hour, ampm, weather, destinat
|
|
| 237 |
df = get_dataframe_of(day)
|
| 238 |
|
| 239 |
if ('Select all' in destinations):
|
| 240 |
-
destinations =
|
| 241 |
|
| 242 |
# Remove unwanted destinations
|
| 243 |
destinations = [dest for dest in destinations if dest not in ["That's a reason why I travel alone...", "I prefer not to say", 'Select all']]
|
|
|
|
| 237 |
df = get_dataframe_of(day)
|
| 238 |
|
| 239 |
if ('Select all' in destinations):
|
| 240 |
+
destinations = get_possible_destinations()
|
| 241 |
|
| 242 |
# Remove unwanted destinations
|
| 243 |
destinations = [dest for dest in destinations if dest not in ["That's a reason why I travel alone...", "I prefer not to say", 'Select all']]
|