Bugfixing

This commit is contained in:
Michal Kváček
2024-05-07 08:24:29 +02:00
parent a706303155
commit 62e46f37ce
5 changed files with 21 additions and 12 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ from paths import FLIGHT_GPX_TRACK_PATH
async def add_terrain_elevation_to_flight(flight_id: int, gpx_filename: str):
gpx_parser = GPXParser(f"{FLIGHT_GPX_TRACK_PATH}/{gpx_filename}")
coordinates = await gpx_parser.get_coordinates()
coordinates = await gpx_parser.get_coordinates_all()
try:
elevation = await elevation_api.get_elevation_for_points(coordinates)