Private
Public Access
1
0

small bug fixes

This commit is contained in:
Sander Roosendaal
2020-08-28 21:42:52 +02:00
parent 132e30e615
commit 620e451e01
2 changed files with 4 additions and 1 deletions

View File

@@ -194,6 +194,8 @@ def handle_strava_sync(stravatoken,workoutid,filename,name,activity_type,descrip
failed = True
except JSONDecodeError:
failed = True
except stravalib.exc.ObjectNotFound:
failed = true
if not failed:
try:
act = client.update_activity(res.id,activity_type=activity_type,