mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Fixed import structure because testing was broken
This commit is contained in:
@@ -72,10 +72,7 @@ def mail(user: User, subject: str, template: str, context: dict=None, event: Eve
|
||||
|
||||
|
||||
def mail_send(to, subject, body, sender):
|
||||
email = EmailMessage(
|
||||
subject, body, sender,
|
||||
to=to
|
||||
)
|
||||
email = EmailMessage(subject, body, sender, to=to)
|
||||
|
||||
try:
|
||||
email.send(fail_silently=False)
|
||||
|
||||
Reference in New Issue
Block a user