From d4f3f8d4fe2dc37d1b8c539bf48b09e73520195d Mon Sep 17 00:00:00 2001 From: lxf Date: Sat, 30 Oct 2021 09:46:11 -0400 Subject: lttr: fixed a bug in signals --- app/lttr/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lttr') diff --git a/app/lttr/models.py b/app/lttr/models.py index 93c900c..8f773ca 100644 --- a/app/lttr/models.py +++ b/app/lttr/models.py @@ -486,7 +486,7 @@ class PostcardSubscriber(models.Model): verbose_name = _('Postcard Subscriber') -def send_notification_email(self, newsletter, message, instance): +def send_notification_email(newsletter, message, instance): recipient_list = ['sng@luxagraf.net',] subject = _('[%(site)s] New Subscriber to "%(object)s"') % { 'site': get_current_site(request).name, -- cgit v1.2.3-70-g09d2