more debug

main
samerbam 1 year ago
parent 5b5e83a0fc
commit 3e119d77c1

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

Loading…
Cancel
Save