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())