aboutsummaryrefslogtreecommitdiff
path: root/server/szurubooru/func/mailer.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/szurubooru/func/mailer.py')
-rw-r--r--server/szurubooru/func/mailer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/szurubooru/func/mailer.py b/server/szurubooru/func/mailer.py
index 94f9c50..76682f1 100644
--- a/server/szurubooru/func/mailer.py
+++ b/server/szurubooru/func/mailer.py
@@ -3,7 +3,7 @@ import email.mime.text
from szurubooru import config
-def send_mail(sender, recipient, subject, body):
+def send_mail(sender: str, recipient: str, subject: str, body: str) -> None:
msg = email.mime.text.MIMEText(body)
msg['Subject'] = subject
msg['From'] = sender

© 2015 - 2026 Jakob L. Kreuze