Log when generic labels are printed

This commit is contained in:
Tanner 2025-04-26 02:08:52 +01:00
parent 9e387e5bb1
commit 8af1ab4a3c

View File

@ -368,6 +368,8 @@ def print_generic_label(text):
MARGIN = 50
MAX_W, MAX_H, PAD = 1285 - (MARGIN*2), 635 - (MARGIN*2), 5
logging.info('Printing generic label: %s', text)
im = Image.open(location + '/label.png')
width, height = im.size
draw = ImageDraw.Draw(im)