fixes for RunGap
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:
|
||||
# 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user