1
Fork 0

Print when creating issues

This commit is contained in:
Jake Howard 2020-01-11 12:49:46 +00:00
parent 2b40d7e320
commit 2914b10392
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -21,6 +21,7 @@ def assigned_issues():
for assigned_issue in me.get_issues(state="all", since=relevant_since): for assigned_issue in me.get_issues(state="all", since=relevant_since):
task = todoist_tasks.get(assigned_issue.html_url) task = todoist_tasks.get(assigned_issue.html_url)
if not task and assigned_issue.state == "open": if not task and assigned_issue.state == "open":
print("creating", assigned_issue)
task = todoist.items.add(issue_to_task_name(assigned_issue)) task = todoist.items.add(issue_to_task_name(assigned_issue))
if not task: if not task:
continue continue