Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2017-08-09 11:19:42 +02:00
parent a8690afb0c
commit 07b4a7a71e

View File

@@ -1273,7 +1273,7 @@ def fix_newtons(id=0):
# rowdata,row = getrowdata_db(id=id,doclean=False,convertnewtons=False)
rowdata = getsmallrowdata_db(['peakforce'],ids=[id],doclean=False)
try:
avgforce = rowdata['averageforce']
#avgforce = rowdata['averageforce']
peakforce = rowdata['peakforce']
if peakforce.mean() > 3000:
w = Workout.objects.get(id=id)