From 9bcce9564d8204b26f4ca6352225f7fdf939f0be Mon Sep 17 00:00:00 2001 From: James Pattinson Date: Wed, 18 Feb 2026 06:14:16 -0500 Subject: [PATCH] New template fix --- templates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates.py b/templates.py index 7f99494..0dccb24 100644 --- a/templates.py +++ b/templates.py @@ -247,8 +247,8 @@ def notes_1_template(variables, width_pixels=991, height_pixels=413, filename=No right_margin = margin line_height = 46 - animal = variables.get('animal', '') - note_date = variables.get('date', '') + animal = variables.get('animal_name', '') + note_date = date.today().strftime("%d %b %Y") notes = variables.get('notes', '') # Animal (left) and date (right) on the same line