scheduled time to 7am
This commit is contained in:
parent
04311024db
commit
e8b8ebf0ea
@ -53,7 +53,7 @@ class SyncData():
|
|||||||
|
|
||||||
self.get_new_creds()
|
self.get_new_creds()
|
||||||
self.get_calendar_events()
|
self.get_calendar_events()
|
||||||
schedule.every(1).day.at("07:55").do(self.get_calendar_events)
|
schedule.every(1).day.at("06:55").do(self.get_calendar_events)
|
||||||
|
|
||||||
|
|
||||||
def get_new_creds(self, code=""):
|
def get_new_creds(self, code=""):
|
||||||
|
@ -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:46").do(self.print_default)
|
schedule.every().day.at("07:00").do(self.print_default)
|
||||||
|
|
||||||
def print_custom(self, text=""):
|
def print_custom(self, text=""):
|
||||||
self.p.set(align="left")
|
self.p.set(align="left")
|
||||||
|
Loading…
Reference in New Issue
Block a user