aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fietsboek/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fietsboek/actions.py b/fietsboek/actions.py
index a50884f..b81b56f 100644
--- a/fietsboek/actions.py
+++ b/fietsboek/actions.py
@@ -325,7 +325,7 @@ def extract_climbs(
path = track.path()
climbs = path.climbs()
for climb_start, climb_end in climbs:
- subpath = Path(path.points[climb_start : climb_end + 1])
+ subpath = Path(path.points[climb_start:climb_end])
movement_data = subpath.movement_data()
preview = trackmap.render(subpath, layer, tile_requester)