This commit is contained in:
samerbam 2023-08-28 11:45:33 -04:00
parent df1fba6bbb
commit 04311024db

View File

@ -57,7 +57,7 @@ class ThermalPrinter():
self.p = Dummy()
print("Try running `export DYLD_LIBRARY_PATH=/opt/homebrew/lib` if on m1 mac. source: https://github.com/pyusb/pyusb/issues/355#issuecomment-1062798576")
# raise
schedule.every().day.at("11:44").do(self.print_default)
schedule.every().day.at("11:46").do(self.print_default)
def print_custom(self, text=""):
self.p.set(align="left")
@ -209,7 +209,7 @@ class ThermalPrinter():
# print('end 1')
# print('start 2')
self.print_todos()
self.print_todos(self.database.read_todos(datetime.today().strftime('%Y-%m-%d')))
# print('end 2')
# print('start 3')