Cleanup a little
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user