diff --git a/application/thermal_print.py b/application/thermal_print.py index c0f935b..e172404 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -89,7 +89,7 @@ class ThermalPrinter(): fele = todo_text.pop(0) 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 + "\n") todo_text = textwrap.wrap(' '.join(todo_text), 32) for t in todo_text: