temporary solution for spam emails
This commit is contained in:
@@ -2000,6 +2000,9 @@ def handle_sendemail_expired(useremail, userfirstname, userlastname, expireddate
|
||||
|
||||
@app.task
|
||||
def handle_sendemail_newftp(rower,power,mode, **kwargs):
|
||||
# temporary, delete following line after implementing sending these emails once per week
|
||||
return 1
|
||||
|
||||
subject = "You may want to update your FTP on rowsandall.com"
|
||||
from_email = 'Rowsandall <info@rowsandall.com>'
|
||||
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -327,7 +327,7 @@ def isbreakthrough(delta, cpvalues, p0, p1, p2, p3, ratio):
|
||||
pwr = pwr.astype(int)
|
||||
|
||||
res = np.sum(cpvalues > pwr+1)
|
||||
res2 = np.sum(cpvalues > pwr2)
|
||||
res2 = np.sum(cpvalues > pwr2+1)
|
||||
|
||||
btdf = pd.DataFrame(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user