more debug

This commit is contained in:
samerbam 2023-08-23 13:07:11 -04:00
parent 5b5e83a0fc
commit 3e119d77c1

View File

@ -88,6 +88,7 @@ class ThermalPrinter():
# t_text = textwrap.wrap() # t_text = textwrap.wrap()
fele = todo_text.pop(0) fele = todo_text.pop(0)
print(todo_text_max_len-len(fele)) print(todo_text_max_len-len(fele))
print(fele)
self.p.text(" "*(todo_text_max_len-len(fele)) + fele) self.p.text(" "*(todo_text_max_len-len(fele)) + fele)
todo_text = textwrap.wrap(' '.join(todo_text), 32) todo_text = textwrap.wrap(' '.join(todo_text), 32)