You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
554B

  1. import sys
  2. from os import system
  3. from myTodoist import TodoProject,TodoItem,TodoNote,TodoItemList
  4. import logcheck
  5. import createfile
  6. def main():
  7. # if(len(sys.argv)!=2):
  8. # return
  9. todoist = TodoProject("Master Assignment")
  10. # getattr(todoist, sys.argv[1])()
  11. # todoist.checktaskstoday(3)
  12. # todoist.checkTasksWithoutNotes()
  13. todoist.checkTasksOverDue()
  14. todoist.openTasksWithoutNotes()
  15. error = logcheck.logcheck()
  16. if error != None:
  17. todoist.sendnotification("LOG", error)
  18. #print(todoist.getproject())
  19. main()