import cross training allowed
This commit is contained in:
@@ -185,7 +185,8 @@ def get_strava_workout(user,stravaid):
|
||||
if nr_rows == 0:
|
||||
return (0,"Error: Time data had zero length")
|
||||
except IndexError:
|
||||
return (0,"Error: No Distance information in the Strava data")
|
||||
d = 0*t
|
||||
# return (0,"Error: No Distance information in the Strava data")
|
||||
except KeyError:
|
||||
return (0,"something went wrong with the Strava import")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user