Private
Public Access
1
0

temporary solution for spam emails

This commit is contained in:
Sander Roosendaal
2023-05-11 08:19:25 +02:00
parent 76d57622a9
commit d6b303ba47
3 changed files with 4 additions and 1 deletions

View File

@@ -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>'

Binary file not shown.

View File

@@ -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(
{