chore: minor style improvements
This commit is contained in:
parent
1bea9f70c3
commit
fb0f8e1777
1 changed files with 3 additions and 3 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue