more stravastuff coverage
This commit is contained in:
@@ -818,7 +818,7 @@ def workout_strava_upload(user,w, quick=False,asynchron=True):
|
||||
w.save()
|
||||
os.remove(tcxfile)
|
||||
return message,stravaid
|
||||
return message,stravaid
|
||||
return message,stravaid # pragma: no cover
|
||||
|
||||
|
||||
|
||||
@@ -916,7 +916,7 @@ def handle_strava_import_stroke_data(title,
|
||||
lon = coords[:,1]
|
||||
if lat.std() == 0 and lon.std() == 0 and workouttype == 'water': # pragma: no cover
|
||||
workouttype = 'rower'
|
||||
except IndexError:
|
||||
except IndexError: # pragma: no cover
|
||||
lat = np.zeros(len(t))
|
||||
lon = np.zeros(len(t))
|
||||
if workouttype == 'water':
|
||||
|
||||
Reference in New Issue
Block a user