Merge branch 'release/v16.7.9'
This commit is contained in:
@@ -432,8 +432,8 @@ def createstravaworkoutdata(w,dozip=True):
|
|||||||
|
|
||||||
return gzfilename,""
|
return gzfilename,""
|
||||||
|
|
||||||
else: # pragma: no cover
|
|
||||||
return tcxfilename,""
|
return tcxfilename,""
|
||||||
|
|
||||||
|
|
||||||
# Upload the TCX file to Strava and set the workout activity type
|
# Upload the TCX file to Strava and set the workout activity type
|
||||||
|
|||||||
@@ -350,6 +350,10 @@ def handle_strava_sync(stravatoken,workoutid,filename,name,activity_type,descrip
|
|||||||
tb = traceback.format_exc()
|
tb = traceback.format_exc()
|
||||||
dologging('strava_fail.log',tb)
|
dologging('strava_fail.log',tb)
|
||||||
failed = True
|
failed = True
|
||||||
|
# temporary hack until stravalib is fixed
|
||||||
|
if 'LatLon' in tb:
|
||||||
|
dologging('strava_fail.log','Trying temporary fix')
|
||||||
|
failed = False
|
||||||
except (ActivityUploadFailed, stravalib.exc.RateLimitExceeded): # pragma: no cover
|
except (ActivityUploadFailed, stravalib.exc.RateLimitExceeded): # pragma: no cover
|
||||||
dologging('strava_fail.log','Strava upload failed for Workout {id}'.format(id=workoutid))
|
dologging('strava_fail.log','Strava upload failed for Workout {id}'.format(id=workoutid))
|
||||||
tb = traceback.format_exc()
|
tb = traceback.format_exc()
|
||||||
|
|||||||
Reference in New Issue
Block a user