import sys from os import system from myTodoist import TodoProject,TodoItem,TodoNote,TodoItemList import logcheck import createfile def main(): # if(len(sys.argv)!=2): # return todoist = TodoProject("Master Assignment") # getattr(todoist, sys.argv[1])() todoist.checktaskstoday(3) todoist.checkTasksWithoutNotes() todoist.checkTasksOverDue() todoist.openTasksWithoutNotes() error = logcheck.logcheck() if error != None: todoist.sendnotification("LOG", error) #print(todoist.getproject()) main()