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,
|
||||
title=title)
|
||||
|
||||
return (id,message)
|
||||
return (id,message,f2)
|
||||
|
||||
# Compare the data from the CSV file and the database
|
||||
# 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
|
||||
f2 = res[1] # file name incl media directory
|
||||
|
||||
|
||||
|
||||
id,message,f2 = dataprep.new_workout_from_file(r,f2,
|
||||
workouttype=workouttype,
|
||||
makeprivate=makeprivate,
|
||||
|
||||
Reference in New Issue
Block a user