fix
This commit is contained in:
parent
df1fba6bbb
commit
04311024db
@ -57,7 +57,7 @@ class ThermalPrinter():
|
|||||||
self.p = Dummy()
|
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")
|
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
|
# 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=""):
|
def print_custom(self, text=""):
|
||||||
self.p.set(align="left")
|
self.p.set(align="left")
|
||||||
@ -209,7 +209,7 @@ class ThermalPrinter():
|
|||||||
# print('end 1')
|
# print('end 1')
|
||||||
|
|
||||||
# print('start 2')
|
# print('start 2')
|
||||||
self.print_todos()
|
self.print_todos(self.database.read_todos(datetime.today().strftime('%Y-%m-%d')))
|
||||||
# print('end 2')
|
# print('end 2')
|
||||||
|
|
||||||
# print('start 3')
|
# print('start 3')
|
||||||
|
Loading…
Reference in New Issue
Block a user