Merge tag 'v22.4.8' into develop
fixing intervals.icu related error
This commit is contained in:
@@ -242,6 +242,7 @@ class IntervalsIntegration(SyncIntegration):
|
||||
workouts = []
|
||||
|
||||
for item in data:
|
||||
try:
|
||||
i = item['id']
|
||||
r = item['type']
|
||||
d = item['distance']
|
||||
@@ -261,6 +262,9 @@ class IntervalsIntegration(SyncIntegration):
|
||||
|
||||
ress = dict(zip(keys, values))
|
||||
workouts.append(ress)
|
||||
except KeyError:
|
||||
dologging('intervals.icu.log', item)
|
||||
|
||||
|
||||
return workouts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user