diff options
author | Magnus Hagander | 2018-12-14 14:04:33 +0000 |
---|---|---|
committer | Magnus Hagander | 2018-12-14 14:04:33 +0000 |
commit | ae28c2fec8398c753d6d82c3ca65bca067734802 (patch) | |
tree | b516bd8757a55c5d4af3483613e6189deb4bd2f3 /postgresqleu/mailqueue/util.py | |
parent | 52f065bb9bbe9a9e6f648dc31c25ba3af147ac85 (diff) |
Fix spaces before/after comma and colon
Mostly not important, but getting rid of the PIP warnings will help
catch errors in the future.
Diffstat (limited to 'postgresqleu/mailqueue/util.py')
-rw-r--r-- | postgresqleu/mailqueue/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postgresqleu/mailqueue/util.py b/postgresqleu/mailqueue/util.py index 646b2e3a..c075e458 100644 --- a/postgresqleu/mailqueue/util.py +++ b/postgresqleu/mailqueue/util.py @@ -42,8 +42,8 @@ def send_simple_mail(sender, receiver, subject, msgtxt, attachments=None, bcc=No if attachments: for filename, contenttype, content in attachments: - main,sub = contenttype.split('/') - part = MIMENonMultipart(main,sub) + main, sub = contenttype.split('/') + part = MIMENonMultipart(main, sub) part.set_payload(content) part.add_header('Content-Disposition', 'attachment; filename="%s"' % filename) encoders.encode_base64(part) |