From b9c03a73b4e280798191dcd4ba626b5f41a06020 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 19 Jan 2020 20:24:08 +0000 Subject: [PATCH] Commit tasks --- todoist_github/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/todoist_github/cli.py b/todoist_github/cli.py index 35dd8e7..a1967e8 100755 --- a/todoist_github/cli.py +++ b/todoist_github/cli.py @@ -6,6 +6,7 @@ import time import coloredlogs +from .clients import todoist from .tasks import ALL_TASKS @@ -19,6 +20,8 @@ def run_tasks(): for task in ALL_TASKS: logging.info("Executing %s", task.__name__) task() + logging.debug("Committing tasks") + todoist.commit() def main():