Use accuracy=0 for import, not null.
This commit is contained in:
parent
c689d9e37f
commit
3b1ccb7781
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ def import_gpx_argparse(args):
|
||||||
if trkpt.accuracy:
|
if trkpt.accuracy:
|
||||||
accuracy = trkpt.accuracy.text
|
accuracy = trkpt.accuracy.text
|
||||||
else:
|
else:
|
||||||
accuracy = None
|
accuracy = 0
|
||||||
if trkpt.ele:
|
if trkpt.ele:
|
||||||
ele = trkpt.ele.text
|
ele = trkpt.ele.text
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue