isort 5.0 config/docs (#1736)

This commit is contained in:
Felix Rindt
2020-07-30 17:57:26 +02:00
committed by GitHub
parent 355dd4463b
commit 77f76195c8
24 changed files with 60 additions and 37 deletions

View File

@@ -173,7 +173,7 @@ class User(AbstractBaseUser, PermissionsMixin, LoggingMixin):
return self.email
def send_security_notice(self, messages, email=None):
from pretix.base.services.mail import mail, SendMailException
from pretix.base.services.mail import SendMailException, mail
try:
with language(self.locale):