From 5b5e83a0fc0cae9f249dbe7cdaf18e6e5b8126c6 Mon Sep 17 00:00:00 2001 From: samerbam Date: Wed, 23 Aug 2023 13:06:17 -0400 Subject: [PATCH] debug line --- application/thermal_print.py | 1 + 1 file changed, 1 insertion(+) diff --git a/application/thermal_print.py b/application/thermal_print.py index fd8ef3c..020380e 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -87,6 +87,7 @@ class ThermalPrinter(): todo_text = textwrap.wrap(x[1], todo_text_max_len) # t_text = textwrap.wrap() fele = todo_text.pop(0) + print(todo_text_max_len-len(fele)) self.p.text(" "*(todo_text_max_len-len(fele)) + fele) todo_text = textwrap.wrap(' '.join(todo_text), 32)