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)