Merge branch 'develop' into feature/intervals.icu
This commit is contained in:
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -579,7 +579,13 @@ def strokedata_fit(request):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# Parse the FIT file
|
# 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)
|
rowdata = rowingdata(df=row.df)
|
||||||
|
|
||||||
|
|||||||
@@ -478,7 +478,8 @@ OAUTH2_PROVIDER = {
|
|||||||
"https",
|
"https",
|
||||||
"rowingcoachexport",
|
"rowingcoachexport",
|
||||||
"com.performancephones.crewnerd",
|
"com.performancephones.crewnerd",
|
||||||
"pocketcox"],
|
"pocketcox",
|
||||||
|
"app"],
|
||||||
'ACCESS_TOKEN_MODEL': 'oauth2_provider.AccessToken',
|
'ACCESS_TOKEN_MODEL': 'oauth2_provider.AccessToken',
|
||||||
'APPLICATION_MODEL': 'oauth2_provider.Application',
|
'APPLICATION_MODEL': 'oauth2_provider.Application',
|
||||||
'REFRESH_TOKEN_MODEL': 'oauth2_provider.RefreshToken',
|
'REFRESH_TOKEN_MODEL': 'oauth2_provider.RefreshToken',
|
||||||
|
|||||||
Reference in New Issue
Block a user