fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Admin fix.
[wolnelektury.git]
/
src
/
contact
/
mailing.py
diff --git
a/src/contact/mailing.py
b/src/contact/mailing.py
index
2d578e6
..
4dee9c5
100644
(file)
--- a/
src/contact/mailing.py
+++ b/
src/contact/mailing.py
@@
-1,5
+1,6
@@
-# -*- coding: utf-8 -*-
-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from hashlib import md5
from django.conf import settings
from hashlib import md5
from django.conf import settings
@@
-8,7
+9,7
@@
from mailchimp3.mailchimpclient import MailChimpError
def subscriber_hash(email):
def subscriber_hash(email):
- return md5(email).hexdigest()
+ return md5(email
.encode('utf-8')
).hexdigest()
def remove_from_groups(email, client):
def remove_from_groups(email, client):