fix
This commit is contained in:
parent
3618756950
commit
701e4292a4
@ -104,7 +104,9 @@ def get_gpx_info(
|
|||||||
# if a previous segment exists, calculate stopped time between
|
# if a previous segment exists, calculate stopped time between
|
||||||
# the two segments
|
# the two segments
|
||||||
if prev_seg_last_point:
|
if prev_seg_last_point:
|
||||||
stopped_time_between_seg = point.time - prev_seg_last_point
|
stopped_time_between_seg += (
|
||||||
|
point.time - prev_seg_last_point
|
||||||
|
)
|
||||||
|
|
||||||
# last segment point
|
# last segment point
|
||||||
if point_idx == (segment_points_nb - 1):
|
if point_idx == (segment_points_nb - 1):
|
||||||
|
Loading…
Reference in New Issue
Block a user