Private
Public Access
1
0

bugfix - automatic chart creation on non-painsled upload

This commit is contained in:
Sander Roosendaal
2017-02-16 15:14:24 +01:00
parent b1379f8295
commit 993cf6128a
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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,