bugfix - automatic chart creation on non-painsled upload
This commit is contained in:
@@ -483,7 +483,7 @@ def new_workout_from_file(r,f2,
|
|||||||
dosummary=dosummary,
|
dosummary=dosummary,
|
||||||
title=title)
|
title=title)
|
||||||
|
|
||||||
return (id,message)
|
return (id,message,f2)
|
||||||
|
|
||||||
# Compare the data from the CSV file and the database
|
# Compare the data from the CSV file and the database
|
||||||
# Currently only calculates number of strokes. To be expanded with
|
# Currently only calculates number of strokes. To be expanded with
|
||||||
|
|||||||
@@ -4241,7 +4241,7 @@ def workout_upload_view(request,message="",
|
|||||||
f1 = res[0] # file name
|
f1 = res[0] # file name
|
||||||
f2 = res[1] # file name incl media directory
|
f2 = res[1] # file name incl media directory
|
||||||
|
|
||||||
|
|
||||||
id,message,f2 = dataprep.new_workout_from_file(r,f2,
|
id,message,f2 = dataprep.new_workout_from_file(r,f2,
|
||||||
workouttype=workouttype,
|
workouttype=workouttype,
|
||||||
makeprivate=makeprivate,
|
makeprivate=makeprivate,
|
||||||
|
|||||||
Reference in New Issue
Block a user