trimp not recalc if 0, same for tss, hrtss
This commit is contained in:
@@ -1570,7 +1570,7 @@ def get_existing_job(w):
|
|||||||
def workout_trimp(w, reset=False):
|
def workout_trimp(w, reset=False):
|
||||||
r = w.user
|
r = w.user
|
||||||
|
|
||||||
if w.trimp > 0 and not reset:
|
if w.trimp > -1 and not reset:
|
||||||
return w.trimp, w.hrtss
|
return w.trimp, w.hrtss
|
||||||
|
|
||||||
if get_existing_job(w):
|
if get_existing_job(w):
|
||||||
@@ -1615,7 +1615,7 @@ def workout_trimp(w, reset=False):
|
|||||||
|
|
||||||
|
|
||||||
def workout_rscore(w, reset=False):
|
def workout_rscore(w, reset=False):
|
||||||
if w.rscore > 0 and not reset:
|
if w.rscore > -1 and not reset:
|
||||||
return w.rscore, w.normp
|
return w.rscore, w.normp
|
||||||
|
|
||||||
if get_existing_job(w):
|
if get_existing_job(w):
|
||||||
@@ -1646,7 +1646,7 @@ def workout_rscore(w, reset=False):
|
|||||||
|
|
||||||
|
|
||||||
def workout_normv(w, pp=4.0):
|
def workout_normv(w, pp=4.0):
|
||||||
if w.normv > 0: # pragma: no cover
|
if w.normv > -1: # pragma: no cover
|
||||||
return w.normv, w.normw
|
return w.normv, w.normw
|
||||||
|
|
||||||
if get_existing_job(w):
|
if get_existing_job(w):
|
||||||
|
|||||||
Reference in New Issue
Block a user