summaryrefslogtreecommitdiff
path: root/postgresqleu/trustlypayment/util.py
diff options
context:
space:
mode:
authorMagnus Hagander2019-01-06 11:45:35 +0000
committerMagnus Hagander2019-01-10 19:44:30 +0000
commitee2472bd429be09f183dc3f5345ad2f03c1c1393 (patch)
treeb6031e83a5f8cde50aa72d26ec2e1e19826b7ba2 /postgresqleu/trustlypayment/util.py
parente6e526e5d4e2c483e9a7c9736a031c33a4339eb9 (diff)
Generic changes for python3 from 2to3
Diffstat (limited to 'postgresqleu/trustlypayment/util.py')
-rw-r--r--postgresqleu/trustlypayment/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/postgresqleu/trustlypayment/util.py b/postgresqleu/trustlypayment/util.py
index a75874e3..36b88795 100644
--- a/postgresqleu/trustlypayment/util.py
+++ b/postgresqleu/trustlypayment/util.py
@@ -75,7 +75,7 @@ class Trustly(TrustlyWrapper):
send_simple_mail(settings.INVOICE_SENDER_EMAIL,
settings.TRUSTLY_NOTIFICATION_RECEIVER,
"Trustly payment error",
- u"A trustly payment failed with the error:\n\n{0}".format(message),
+ "A trustly payment failed with the error:\n\n{0}".format(message),
)
@transaction.atomic
@@ -168,5 +168,5 @@ class Trustly(TrustlyWrapper):
send_simple_mail(settings.INVOICE_SENDER_EMAIL,
settings.TRUSTLY_NOTIFICATION_RECEIVER,
"Trustly payment completed",
- 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),
+ "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),
)