Fix formatting of text emails
This commit is contained in:
parent
76ef3a3879
commit
d98af1788c
@ -101,7 +101,7 @@ def send_notification(config, flats):
|
|||||||
cost = int(flat.cost)
|
cost = int(flat.cost)
|
||||||
currency = str(flat.currency)
|
currency = str(flat.currency)
|
||||||
|
|
||||||
txt += f"- {title}: {website_url}#/flat/{flat_id}"
|
txt += f"- {title}: {website_url}#/flat/{flat_id} "
|
||||||
html += f"""
|
html += f"""
|
||||||
<li>
|
<li>
|
||||||
<a href="{website_url}#/flat/{flat_id}">{title}</a>
|
<a href="{website_url}#/flat/{flat_id}">{title}</a>
|
||||||
@ -119,6 +119,7 @@ def send_notification(config, flats):
|
|||||||
html += f'({", ".join(fields)})'
|
html += f'({", ".join(fields)})'
|
||||||
|
|
||||||
html += "</li>"
|
html += "</li>"
|
||||||
|
txt += "\n"
|
||||||
|
|
||||||
html += "</ul>"
|
html += "</ul>"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user