Skip to content

Commit

Permalink
Pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmits committed May 9, 2024
1 parent c551bb1 commit 04cd6bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mailer/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
from datetime import datetime

from django.db import connections

from mailer.engine import EMPTY_QUEUE_SLEEP, send_all
from mailer.models import Message

is_psycopg3_available = False
try:
import psycopg # this is psycopg3
import psycopg # noqa: F401
except ImportError:
try:
import psycopg2.extensions
Expand Down

0 comments on commit 04cd6bb

Please sign in to comment.