remove unused import
This commit is contained in:
parent
9ff323c746
commit
37bb7655d5
|
@ -27,7 +27,6 @@ from app.models import (
|
||||||
Mailbox,
|
Mailbox,
|
||||||
EmailLog,
|
EmailLog,
|
||||||
Contact,
|
Contact,
|
||||||
SLDomain,
|
|
||||||
)
|
)
|
||||||
from app.regex_utils import regex_match
|
from app.regex_utils import regex_match
|
||||||
|
|
||||||
|
|
|
@ -298,10 +298,6 @@ def custom_alias():
|
||||||
flash(general_error_msg, "error")
|
flash(general_error_msg, "error")
|
||||||
|
|
||||||
else:
|
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:
|
try:
|
||||||
alias = Alias.create(
|
alias = Alias.create(
|
||||||
user_id=current_user.id,
|
user_id=current_user.id,
|
||||||
|
|
Loading…
Reference in a new issue