chore: minor style improvements

This commit is contained in:
Shannon Sterz 2022-10-26 14:09:42 +02:00
parent 1bea9f70c3
commit fb0f8e1777
Signed by: sterzy
GPG key ID: 2370EE3A271DF05B

View file

@ -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'''
<html>
<head></head>
<body>
@ -102,9 +102,9 @@ for r in participants:
</p>
</body>
</html>
"""
'''
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())