bug fix
This commit is contained in:
@@ -572,8 +572,10 @@ def get_workout(user,c2id):
|
||||
if 'workout' in data:
|
||||
if 'splits' in data['workout']:
|
||||
splitdata = data['workout']['splits']
|
||||
if 'intervals' in data['workout']:
|
||||
elif 'intervals' in data['workout']:
|
||||
splitdata = data['workout']['intervals']
|
||||
else:
|
||||
splitdata = None
|
||||
|
||||
# Check if workout has stroke data, and get the stroke data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user