Private
Public Access
1
0

fixes, tested

This commit is contained in:
2025-01-08 20:18:38 +01:00
parent 44df1a6d79
commit 821cf2b17e
4 changed files with 1 additions and 3 deletions

View File

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

Binary file not shown.

View File

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

View 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',