Skip to content

Commit

Permalink
hotfix: fixes on flight plan time & distance
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p committed Dec 31, 2024
1 parent ec648e5 commit c464347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/app/tasks/task_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c464347

Please sign in to comment.