Skip to content

Commit

Permalink
Merge pull request #420 from hotosm/fix/hot-fixes
Browse files Browse the repository at this point in the history
Solve  issuues on flight plan time & distance  in task table.
  • Loading branch information
Pradip-p authored Dec 31, 2024
2 parents 7880916 + c464347 commit a1b021e
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 a1b021e

Please sign in to comment.