flake8
This commit is contained in:
parent
d18bb28ca9
commit
4d740a4dc0
|
@ -51,7 +51,7 @@ def custom_domain():
|
||||||
"error",
|
"error",
|
||||||
)
|
)
|
||||||
elif Mailbox.filter(
|
elif Mailbox.filter(
|
||||||
Mailbox.verified == True, Mailbox.email.endswith(f"@{new_domain}")
|
Mailbox.verified.is_(True), Mailbox.email.endswith(f"@{new_domain}")
|
||||||
).first():
|
).first():
|
||||||
flash(
|
flash(
|
||||||
f"{new_domain} already used in a SimpleLogin mailbox", "error"
|
f"{new_domain} already used in a SimpleLogin mailbox", "error"
|
||||||
|
|
Loading…
Reference in a new issue