Private
Public Access
1
0

import cross training allowed

This commit is contained in:
Sander Roosendaal
2018-02-08 11:29:07 +01:00
parent d785404815
commit 7d51bb9356
4 changed files with 46 additions and 17 deletions

View File

@@ -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")