summaryrefslogtreecommitdiff
path: root/postgresqleu/trustlypayment/util.py
diff options
context:
space:
mode:
authorMagnus Hagander2016-12-30 10:26:43 +0000
committerMagnus Hagander2016-12-30 10:26:43 +0000
commitdc7f9657fb3b1982ebbcceec7046c0c3a65f9c17 (patch)
treeba723ce839ac3196eb574b14cac1c96efbf1a1e3 /postgresqleu/trustlypayment/util.py
parentc4f45071c6f393a2891d9d57cb0f130358aeaa34 (diff)
Trustly payment notifications can contain unicode
Diffstat (limited to 'postgresqleu/trustlypayment/util.py')
-rw-r--r--postgresqleu/trustlypayment/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/trustlypayment/util.py b/postgresqleu/trustlypayment/util.py
index 0e3efd6c..d9f72dc4 100644
--- a/postgresqleu/trustlypayment/util.py
+++ b/postgresqleu/trustlypayment/util.py
@@ -162,5 +162,5 @@ class Trustly(TrustlyWrapper):
send_simple_mail(settings.INVOICE_SENDER_EMAIL,
settings.TRUSTLY_NOTIFICATION_RECEIVER,
"Trustly payment completed",
- "A Trustly payment of {0}{1} for invoice {2} was completed on the Trustly platform.\n\nInvoice: {3}\nRecipient name: {4}\nRecipient email: {5}\n".format(settings.CURRENCY_ABBREV, trans.amount, invoice.id, invoice.title, invoice.recipient_name, invoice.recipient_email),
+ u"A Trustly payment of {0}{1} for invoice {2} was completed on the Trustly platform.\n\nInvoice: {3}\nRecipient name: {4}\nRecipient email: {5}\n".format(settings.CURRENCY_ABBREV, trans.amount, invoice.id, invoice.title, invoice.recipient_name, invoice.recipient_email),
)