Private
Public Access
1
0

lots a small stuff

This commit is contained in:
Sander Roosendaal
2021-04-26 19:35:11 +02:00
parent 594ee6239a
commit 62d06a2439
33 changed files with 144 additions and 149 deletions

View File

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