Merge branch 'hotfix/v22.4.8'
This commit is contained in:
@@ -242,6 +242,7 @@ class IntervalsIntegration(SyncIntegration):
|
|||||||
workouts = []
|
workouts = []
|
||||||
|
|
||||||
for item in data:
|
for item in data:
|
||||||
|
try:
|
||||||
i = item['id']
|
i = item['id']
|
||||||
r = item['type']
|
r = item['type']
|
||||||
d = item['distance']
|
d = item['distance']
|
||||||
@@ -261,6 +262,9 @@ class IntervalsIntegration(SyncIntegration):
|
|||||||
|
|
||||||
ress = dict(zip(keys, values))
|
ress = dict(zip(keys, values))
|
||||||
workouts.append(ress)
|
workouts.append(ress)
|
||||||
|
except KeyError:
|
||||||
|
dologging('intervals.icu.log', item)
|
||||||
|
|
||||||
|
|
||||||
return workouts
|
return workouts
|
||||||
|
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user