From 9e5c9807377369f28fcaf3248248f36e4ae1daf2 Mon Sep 17 00:00:00 2001 From: samerbam Date: Wed, 23 Aug 2023 12:47:53 -0400 Subject: [PATCH] remove output ref --- application/thermal_print.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/application/thermal_print.py b/application/thermal_print.py index 5671289..2b863b9 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -94,14 +94,14 @@ class ThermalPrinter(): # for s in range((len(x[0])+1)): # self.p.text(" ") - output.append( (" "*(32-(len(x[0])+1)))+t ) + self.p.text( (" "*(32-(len(x[0])+1)))+t+"\n" ) # self.p.text(t + "\n") - print(output) - for l in output: - print(l) - self.p.text(l + "\n") + # print(output) + # for l in output: + # print(l) + # self.p.text(l + "\n") self.p.text("\n") self.p.set(align="left") self.p.text("\n")