Private
Public Access
1
0

removing ftp warning in a more elegant way, still need to implement

regular sending
This commit is contained in:
Sander Roosendaal
2023-05-11 23:11:22 +02:00
parent d6b303ba47
commit e6fbd34780
4 changed files with 6 additions and 6 deletions

View File

@@ -1281,6 +1281,8 @@ def handle_get_garmin_file(client_id,
*args,
**kwargs):
dologging('garminlog.log','Fetching URL {url}'.format(url=url))
regex = '.*\?id=(\d+)'
try: # pragma: no cover
m = re.compile(regex).match(url).group(1)
@@ -2000,9 +2002,6 @@ 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>'