mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 15:23:27 +08:00
fix formatting
This commit is contained in:
parent
f1befd7024
commit
27b9312057
2 changed files with 4 additions and 2 deletions
|
@ -209,4 +209,4 @@ def add_or_replace_header(msg: Message, header: str, value: str):
|
|||
|
||||
def delete_header(msg: Message, header: str):
|
||||
if msg[header]:
|
||||
del msg[header]
|
||||
del msg[header]
|
||||
|
|
|
@ -45,7 +45,9 @@ from app.email_utils import (
|
|||
send_email,
|
||||
add_dkim_signature,
|
||||
get_email_domain_part,
|
||||
add_or_replace_header, delete_header)
|
||||
add_or_replace_header,
|
||||
delete_header,
|
||||
)
|
||||
from app.extensions import db
|
||||
from app.log import LOG
|
||||
from app.models import GenEmail, ForwardEmail, ForwardEmailLog, CustomDomain
|
||||
|
|
Loading…
Reference in a new issue