Bugfixing
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user