chore: minor style improvements

This commit is contained in:
Stefan Sterz 2022-10-26 14:09:42 +02:00
parent 1bea9f70c3
commit fb0f8e1777
Signed by: sterzy
GPG Key ID: 2370EE3A271DF05B
1 changed files with 3 additions and 3 deletions

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