Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
seijihg committed Feb 7, 2024
1 parent 230b7d5 commit 4e73f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mail/libraries/routing_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
)
from mail.libraries.mailbox_service import get_message_iterator
from mail.models import Mail
from mail.servers import MailServer, smtp_send
from mail.servers import MailServer

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -176,7 +176,7 @@ def send(email_message_dto: EmailMessageDto):
logger.info("Preparing to send email")
message = build_email_message(email_message_dto)

send_smtp_task.apply_async(args=[message])
send_smtp_task(message)


def _collect_and_send(mail: Mail):
Expand Down
2 changes: 0 additions & 2 deletions mail/tests/test_tasks.py

This file was deleted.

0 comments on commit 4e73f94

Please sign in to comment.