Skip to content

Commit

Permalink
Merge pull request #1 from farmafield-labs/master
Browse files Browse the repository at this point in the history
Django 3 Support
  • Loading branch information
chschuermann authored Mar 4, 2022
2 parents 8399792 + 2ae6f86 commit 1e8dd83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions email_extras/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from django.template import loader
from django.core.mail import EmailMultiAlternatives, get_connection
from django.utils import six
from six import string_types
from django.utils.encoding import smart_text

from email_extras.settings import (USE_GNUPG, GNUPG_HOME, ALWAYS_TRUST,
Expand Down Expand Up @@ -54,7 +54,7 @@ def send_mail(subject, body_text, addr_from, recipient_list,
html_message = body_html

# Allow for a single address to be passed in.
if isinstance(recipient_list, six.string_types):
if isinstance(recipient_list, string_types):
recipient_list = [recipient_list]

connection = connection or get_connection(
Expand Down

0 comments on commit 1e8dd83

Please sign in to comment.