Private
Public Access
1
0

Merge branch 'develop' into feature/intervals.icu

This commit is contained in:
2024-12-09 20:49:17 +01:00
3 changed files with 9 additions and 2 deletions

Binary file not shown.

View File

@@ -579,7 +579,13 @@ def strokedata_fit(request):
try:
# Parse the FIT file
row = FP(fit_filename)
try:
row = FP(fit_filename)
except ValueError as e:
return JsonResponse({
"status": "error",
"message": f"An error occurred while parsing the FIT file: {str(e)}"
}, status=500)
rowdata = rowingdata(df=row.df)

View File

@@ -478,7 +478,8 @@ OAUTH2_PROVIDER = {
"https",
"rowingcoachexport",
"com.performancephones.crewnerd",
"pocketcox"],
"pocketcox",
"app"],
'ACCESS_TOKEN_MODEL': 'oauth2_provider.AccessToken',
'APPLICATION_MODEL': 'oauth2_provider.Application',
'REFRESH_TOKEN_MODEL': 'oauth2_provider.RefreshToken',