diff --git a/main.py b/main.py index 7eb7f43..f9e6fff 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,4 @@ import configparser -import copy import logging from pprint import pprint @@ -28,7 +27,7 @@ if __name__ == "__main__": password = config['LOGIN']['password'] account_name = config['LOGIN']['account_name'] - # 1. you need to login to get a session and a list of accounts + # 1. you need to log in to get a session and a list of accounts auth = ACAuthenticator() session = auth.login(username, password) pprint(session) @@ -75,6 +74,12 @@ if __name__ == "__main__": # for text in subtask_texts: # subtask['body'] = text # ac.create_subtask(subtask) + # delete + # for text in subtask_texts: + # subtask = ac.find_subtask_with_body(task, text) + # if subtask is not None: + # print(subtask) + # ac.delete_subtask(subtask) # # unassign a single subtask # subtask_id = 12203