diff options
Diffstat (limited to 'newspipe/notifications/notifications.py')
-rw-r--r-- | newspipe/notifications/notifications.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/newspipe/notifications/notifications.py b/newspipe/notifications/notifications.py index 6d5b9fb4..eabcd115 100644 --- a/newspipe/notifications/notifications.py +++ b/newspipe/notifications/notifications.py @@ -46,7 +46,9 @@ def new_account_notification(user, email): ) emails.send( - to=email, subject="[Newspipe] Account creation", plaintext=plaintext, + to=email, + subject="[Newspipe] Account creation", + plaintext=plaintext, ) @@ -56,5 +58,7 @@ def new_password_notification(user, password): """ plaintext = render_template("emails/new_password.txt", user=user, password=password) emails.send( - to=user.email, subject="[Newspipe] New password", plaintext=plaintext, + to=user.email, + subject="[Newspipe] New password", + plaintext=plaintext, ) |