Private
Public Access
1
0

small change

This commit is contained in:
Sander Roosendaal
2018-03-30 16:03:42 -07:00
parent f711bd8214
commit ff15f6e2f7

View File

@@ -11547,7 +11547,9 @@ def strokedatajson(request,id):
})
# Following part should be replaced with dataprep.new_workout_from_df
r = getrower(request.user)
timestr = row.startdatetime.strftime("%Y%m%d-%H%M%S")
csvfilename ='media/Import_'+timestr+'.csv'
@@ -11556,7 +11558,6 @@ def strokedatajson(request,id):
row.csvfilename = csvfilename
row.save()
r = getrower(request.user)
powerperc = 100*np.array([r.pw_ut2,
r.pw_ut1,
r.pw_at,