Spaces:
Running
Running
Minor bug fix
Browse files
app.py
CHANGED
@@ -73,6 +73,9 @@ def run(
|
|
73 |
"""
|
74 |
if arrival_date:
|
75 |
arrival_date_input = datetime.datetime.fromtimestamp(arrival_date).strftime("%m-%d-%Y")
|
|
|
|
|
|
|
76 |
logger.info(
|
77 |
f'Origin: {origin}, Destination: {destination}, Arrival Date: {arrival_date_input}, Age: {age}, Duration: {trip_duration},'
|
78 |
f' Interests: {interests}, Cuisines: {cuisine_preferences}, Children: {children}, Daily Budget: {budget}'
|
|
|
73 |
"""
|
74 |
if arrival_date:
|
75 |
arrival_date_input = datetime.datetime.fromtimestamp(arrival_date).strftime("%m-%d-%Y")
|
76 |
+
else:
|
77 |
+
arrival_date_input = None
|
78 |
+
|
79 |
logger.info(
|
80 |
f'Origin: {origin}, Destination: {destination}, Arrival Date: {arrival_date_input}, Age: {age}, Duration: {trip_duration},'
|
81 |
f' Interests: {interests}, Cuisines: {cuisine_preferences}, Children: {children}, Daily Budget: {budget}'
|