Private
Public Access
1
0

runkeeper stuff

This commit is contained in:
Sander Roosendaal
2019-03-08 13:39:43 +01:00
parent 5df5afc96c
commit 2124933dec
4 changed files with 8 additions and 2 deletions

View File

@@ -145,8 +145,14 @@ def createrunkeeperworkoutdata(w):
except KeyError:
haslatlon = 0
t = t.tolist()
hr = hr.tolist()
d = d.tolist()
# path data
if haslatlon:
lat = lat.tolist()
lon = lon.tolist()
locdata = []
for e in zip(t,lat,lon):
point = {'timestamp':e[0],