left/right align todo test

This commit is contained in:
samerbam 2023-08-23 10:01:54 -04:00
parent a5e880dfd2
commit bb2fb54c2e

View File

@ -63,7 +63,7 @@ class ThermalPrinter():
self.p.text("\n\n") self.p.text("\n\n")
# pass #TODO: add other greetings? # pass #TODO: add other greetings?
def print_todos(self, todos=[{"time": "1:00pm to 2:00pm", "text": "Read a book"}]): def print_todos(self, todos=[{"time": "1:00pm-2:00pm", "text": "Read a book"}]):
for x in self._parse_todos(todos): for x in self._parse_todos(todos):
# print(x) # print(x)
# self.p.charcode("cp437") # self.p.charcode("cp437")