lots a small stuff
This commit is contained in:
@@ -133,7 +133,7 @@ def garmin_open(user): # pragma: no cover
|
||||
|
||||
return token
|
||||
|
||||
def get_garmin_file(r,callbackURL,starttime,fileType):
|
||||
def get_garmin_file(r,callbackURL,starttime,fileType): # pragma: no cover
|
||||
job = myqueue(
|
||||
queue,
|
||||
handle_get_garmin_file,
|
||||
@@ -462,9 +462,9 @@ def garmin_workouts_from_details(data):
|
||||
for activity in activities:
|
||||
try: # pragma: no cover
|
||||
garmintoken = activity['userAccessToken']
|
||||
except KeyError:
|
||||
except KeyError: # pragma: no cover
|
||||
return 0
|
||||
except TypeError:
|
||||
except TypeError: # pragma: no cover
|
||||
return 0
|
||||
try:
|
||||
r = Rower.objects.get(garmintoken=garmintoken)
|
||||
|
||||
Reference in New Issue
Block a user