fixes, tested
This commit is contained in:
@@ -659,7 +659,6 @@ class IntervalsIntegration(SyncIntegration):
|
|||||||
}
|
}
|
||||||
|
|
||||||
stepstext = ps.steps_intervals()
|
stepstext = ps.steps_intervals()
|
||||||
print(stepstext)
|
|
||||||
|
|
||||||
category = 'WORKOUT'
|
category = 'WORKOUT'
|
||||||
startdate = ps.preferreddate.strftime('%Y-%m-%dT%H:%M:%S')
|
startdate = ps.preferreddate.strftime('%Y-%m-%dT%H:%M:%S')
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -33,9 +33,7 @@ def filmdeaths_view(request):
|
|||||||
|
|
||||||
@login_required()
|
@login_required()
|
||||||
def download_fit(request, filename=''):
|
def download_fit(request, filename=''):
|
||||||
print(filename)
|
|
||||||
pss = PlannedSession.objects.filter(fitfile=filename)
|
pss = PlannedSession.objects.filter(fitfile=filename)
|
||||||
print(pss, len(pss))
|
|
||||||
|
|
||||||
if len(pss) != 1: # pragma: no cover
|
if len(pss) != 1: # pragma: no cover
|
||||||
raise Http404("Could not find the required file")
|
raise Http404("Could not find the required file")
|
||||||
|
|||||||
@@ -478,6 +478,7 @@ OAUTH2_PROVIDER = {
|
|||||||
"https",
|
"https",
|
||||||
"rowingcoachexport",
|
"rowingcoachexport",
|
||||||
"com.performancephones.crewnerd",
|
"com.performancephones.crewnerd",
|
||||||
|
"healthfit",
|
||||||
"pocketcox",
|
"pocketcox",
|
||||||
"app"],
|
"app"],
|
||||||
'ACCESS_TOKEN_MODEL': 'oauth2_provider.AccessToken',
|
'ACCESS_TOKEN_MODEL': 'oauth2_provider.AccessToken',
|
||||||
|
|||||||
Reference in New Issue
Block a user