diff --git a/src/backend/app/tasks/task_routes.py b/src/backend/app/tasks/task_routes.py index 6264828f..7e265aa1 100644 --- a/src/backend/app/tasks/task_routes.py +++ b/src/backend/app/tasks/task_routes.py @@ -191,9 +191,9 @@ async def update_task_table( "total_image_uploaded", toatl_image_count, ) - + # If both is None if ( - task["flight_time_minutes"] + task["flight_time_minutes"] is None and task["flight_distance_km"] is None ): import geojson