adding previous and next to new workout pages
This commit is contained in:
@@ -299,7 +299,7 @@ def get_polar_workout(user,id,transactionid):
|
||||
if response.status_code == 200:
|
||||
exerciseurls = response.json()['exercises']
|
||||
for exerciseurl in exerciseurls:
|
||||
response = requests.gedt(exerciseurl,headers=headers)
|
||||
response = requests.get(exerciseurl,headers=headers)
|
||||
if response.status_code == 200:
|
||||
exercise_dict = response.json()
|
||||
thisid = exercise_dict['id']
|
||||
|
||||
Reference in New Issue
Block a user