diff --git a/application/thermal_print.py b/application/thermal_print.py index 43e1a80..a6c18d5 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -66,7 +66,7 @@ class ThermalPrinter(): def print_todos(self, todos=[{"time": "1:00pm to 2:00pm", "text": "Read a book"}]): for x in self._parse_todos(todos): # print(x) - self.p.charcode("cp437") + # self.p.charcode("cp437") self.p.set(align="left") self.p.text(x[0]) self.p.set(align="right") @@ -146,7 +146,7 @@ class ThermalPrinter(): def _parse_todos(self, data): out = [] for x in data: - out.append(["○ " + x["time"], x["text"]]) + out.append(["O " + x["time"], x["text"]]) return out #Return: ["□ 1:00pm to 2:00pm", "Read a book"]