gpx-py is a python GPX parser. GPX (GPS eXchange Format) is an XML based file format for GPS tracks.
989
stars
223
forks
source link
Bug: `free variable 'from_start_to_end' referenced before assignment in enclosing scope` #231
Closed
martinlehoux closed 1 year ago
Issue
I ran the following line:
and encountered the following issue:
Ideas
The following line seems to have an issue (at least I ran into one): https://github.com/tkrajina/gpxpy/blob/e3733bbd59d11bcbf089f30b286286fcd728bb46/gpxpy/gpx.py#L1112
The few lines above do not define
from_start_to_end
whendist
is falsyMaybe default to 0 ?