fixes issue #236 - reverts to include rest strokes
if workout is only rest strokes, stats shown for entire workout
This commit is contained in:
@@ -6879,7 +6879,11 @@ def workout_stats_view(request,id=0,message="",successmessage=""):
|
|||||||
|
|
||||||
|
|
||||||
if datadf.empty:
|
if datadf.empty:
|
||||||
return HttpResponse("CSV data file not found")
|
datadf,row = dataprep.getrowdata_db(id=id)
|
||||||
|
datadf = dataprep.clean_df_stats(datadf,workstrokesonly=False)
|
||||||
|
workstrokesonly=False
|
||||||
|
if datadf.empty:
|
||||||
|
return HttpResponse("CSV data file not found")
|
||||||
|
|
||||||
workoutstateswork = [1,4,5,8,9,6,7]
|
workoutstateswork = [1,4,5,8,9,6,7]
|
||||||
workoutstatesrest = [3]
|
workoutstatesrest = [3]
|
||||||
|
|||||||
Reference in New Issue
Block a user