Merge branch 'develop' into feature/newc2
This commit is contained in:
@@ -2825,7 +2825,10 @@ def handle_rp3_async_workout(userid,rp3token,rp3id,startdatetime,max_attempts,de
|
||||
if response.status_code != 200: # pragma: no cover
|
||||
have_link = True
|
||||
|
||||
workout_download_details = pd.json_normalize(response.json()['data']['download'])
|
||||
try:
|
||||
workout_download_details = pd.json_normalize(response.json()['data']['download'])
|
||||
except JSONDecodeError:
|
||||
return 0
|
||||
|
||||
if workout_download_details.iat[0,1] == 'ready':
|
||||
download_url = workout_download_details.iat[0,2]
|
||||
|
||||
Reference in New Issue
Block a user