From fb0f8e1777e520d925ad06c86cbabd7b35c03a04 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Wed, 26 Oct 2022 14:09:42 +0200 Subject: [PATCH] chore: minor style improvements --- wichteln.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wichteln.py b/wichteln.py index bf84640..2948cb9 100755 --- a/wichteln.py +++ b/wichteln.py @@ -90,7 +90,7 @@ for r in participants: body += 'Das Geschenk sollte nicht mehr als 75ā‚¬ kosten.\n\n' body += 'Frohe Weihnachten!\nā€” Dein Christkind šŸ‘¼' - html = f""" + html = f''' @@ -102,9 +102,9 @@ for r in participants:

-""" +''' msg.attach(MIMEText(body, 'plain', 'utf-8')) msg.attach(MIMEText(html, 'html', 'utf-8')) - print("Sending email to", r['name']) + print('Sending email to', r['name'], '...') server.sendmail(config['sender'], r['mail'], msg.as_string())