diff options
author | Vincent Post <cent@spline.de> | 2020-08-07 16:57:39 +0200 |
---|---|---|
committer | Jonah BrĂ¼chert <jbb@kaidan.im> | 2023-05-22 00:28:11 +0200 |
commit | c70cd40a012760e584677940d90d4d6613176238 (patch) | |
tree | a38308fd83e59449c0e64b5344be1e89c766dd4d /accounts/backend/mail/dummy.py | |
parent | b8621b58e879732ecf81593dc34638533df2a212 (diff) | |
download | web-c70cd40a012760e584677940d90d4d6613176238.tar.gz web-c70cd40a012760e584677940d90d4d6613176238.tar.bz2 web-c70cd40a012760e584677940d90d4d6613176238.zip |
2to3 -w accounts contrib
Diffstat (limited to 'accounts/backend/mail/dummy.py')
-rw-r--r-- | accounts/backend/mail/dummy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accounts/backend/mail/dummy.py b/accounts/backend/mail/dummy.py index ad38d42..61e7b75 100644 --- a/accounts/backend/mail/dummy.py +++ b/accounts/backend/mail/dummy.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import + from . import Backend from accounts.utils import ensure_utf8 @@ -41,8 +41,8 @@ class DummyBackend(Backend): if not self.plain: body = "\n| ".join(body.split("\n")) - print(self.format.format( + print((self.format.format( subject=ensure_utf8(content.subject()), sender=ensure_utf8(content.sender()), to=ensure_utf8(recipient), - body=ensure_utf8(body))) + body=ensure_utf8(body)))) |