remove unused import
This commit is contained in:
parent
9ff323c746
commit
37bb7655d5
|
@ -27,7 +27,6 @@ from app.models import (
|
|||
Mailbox,
|
||||
EmailLog,
|
||||
Contact,
|
||||
SLDomain,
|
||||
)
|
||||
from app.regex_utils import regex_match
|
||||
|
||||
|
|
|
@ -298,10 +298,6 @@ def custom_alias():
|
|||
flash(general_error_msg, "error")
|
||||
|
||||
else:
|
||||
# get the custom_domain_id if alias is created with a custom domain
|
||||
if alias_suffix.is_custom:
|
||||
alias_domain = alias_suffix.domain
|
||||
|
||||
try:
|
||||
alias = Alias.create(
|
||||
user_id=current_user.id,
|
||||
|
|
Loading…
Reference in New Issue