aboutsummaryrefslogtreecommitdiff
path: root/newspipe/notifications/notifications.py
diff options
context:
space:
mode:
Diffstat (limited to 'newspipe/notifications/notifications.py')
-rw-r--r--newspipe/notifications/notifications.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/newspipe/notifications/notifications.py b/newspipe/notifications/notifications.py
index 633af4c3..debbee61 100644
--- a/newspipe/notifications/notifications.py
+++ b/newspipe/notifications/notifications.py
@@ -46,9 +46,7 @@ def new_account_notification(user, email):
)
emails.send(
- to=email,
- subject="[Newspipe] Account creation",
- plaintext=plaintext,
+ to=email, subject="[Newspipe] Account creation", plaintext=plaintext,
)
@@ -58,7 +56,5 @@ 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,
)
bgstack15