From 4764963965ffb85f41643e6c90eec509289f0e88 Mon Sep 17 00:00:00 2001 From: Christopher Usher Date: Wed, 6 Nov 2024 12:43:33 -0800 Subject: [PATCH] I thought we had fixed this --- thrimshim/thrimshim/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrimshim/thrimshim/main.py b/thrimshim/thrimshim/main.py index d5ebf06..99d6d9f 100644 --- a/thrimshim/thrimshim/main.py +++ b/thrimshim/thrimshim/main.py @@ -668,7 +668,7 @@ def validate_template(new_template, require_image=True): except binascii.Error: return None, 'Template image must be valid base64', 400 # check for PNG file header - if not new_template['thumbnail_image'].startswith(b'\x89PNG\r\n\x1a\n'): + if not new_template['image'].startswith(b'\x89PNG\r\n\x1a\n'): return None, 'Template image must be a PNG', 400 return columns, new_template, 200