From eda408308e630ea4930e1867e8ef835b8d80bd5c Mon Sep 17 00:00:00 2001 From: samerbam Date: Wed, 23 Aug 2023 13:08:01 -0400 Subject: [PATCH] add space and new line --- application/thermal_print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: