From d98af1788c991045f7ae05f78b151237bcd91425 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Sat, 10 Apr 2021 12:59:39 +0200 Subject: [PATCH] Fix formatting of text emails --- flatisfy/email.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flatisfy/email.py b/flatisfy/email.py index 36cb4b2..6197bc3 100644 --- a/flatisfy/email.py +++ b/flatisfy/email.py @@ -101,7 +101,7 @@ def send_notification(config, flats): cost = int(flat.cost) currency = str(flat.currency) - txt += f"- {title}: {website_url}#/flat/{flat_id}" + txt += f"- {title}: {website_url}#/flat/{flat_id} " html += f"""
  • {title} @@ -119,6 +119,7 @@ def send_notification(config, flats): html += f'({", ".join(fields)})' html += "
  • " + txt += "\n" html += ""