azavea / django-amazon-ses

A Django email backend that uses Boto3 to interact with Amazon Simple Email Service (SES).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Double send of signal

mtb-beta opened this issue · comments

There is double send of signal as below at develop branch.

https://github.com/azavea/django-amazon-ses/blob/develop/django_amazon_ses.py#L122-L125

            message_id = result["MessageId"]
            post_send.send(self.__class__, message=email_message, message_id=message_id)
            message_id = result["MessageId"]
            post_send.send(self.__class__, message=email_message, message_id=message_id)

There is not double send in PR. #45

But it included at 694207c .

I think it mistake of cherypick.

Hey @mtb-beta, thanks for pointing this out. The fix was included in the 3.0.1 release: https://github.com/azavea/django-amazon-ses/releases/tag/3.0.1.