From 98f2bb3ea6694d966c1c76d5a46d791a9579e95a Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 30 Nov 2023 23:17:28 +0000 Subject: [PATCH] Bug fix GWR advance ticket date --- update_gwr_advance_ticket_date.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_gwr_advance_ticket_date.py b/update_gwr_advance_ticket_date.py index 2ee6433..14b5ab0 100755 --- a/update_gwr_advance_ticket_date.py +++ b/update_gwr_advance_ticket_date.py @@ -62,8 +62,8 @@ def main() -> None: print("date has't changed:", existing_date) return - subject = "New GWR advance ticket booking date: {new_date}" - body = """Old date: {old_date} + subject = f"New GWR advance ticket booking date: {new_date}" + body = f"""Old date: {existing_date} New date: {new_date} {gwr.url}