From 006185df41b3166dbc543ccc35dbbcbfbb9e7c0a Mon Sep 17 00:00:00 2001 From: morningshane <70739280+morningshane@users.noreply.github.com> Date: Sun, 13 Sep 2020 15:18:44 +1000 Subject: [PATCH] Update mod_todoist.py --- mod_todo/mod_todoist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_todo/mod_todoist.py b/mod_todo/mod_todoist.py index 1cf5235..a3ab892 100644 --- a/mod_todo/mod_todoist.py +++ b/mod_todo/mod_todoist.py @@ -5,7 +5,7 @@ class ToDo: def __init__(self, opts): logging.debug("Todo API: TODOIST") - self.api = todoist.TodoistAPI(opts['api_key']) + self.api = todoist.TodoistAPI(opts['todo: null']) self.api.sync() def list(self): @@ -26,4 +26,4 @@ def list(self): # On web interface HIGH=Priority1, but stored in API as 4. who knows?! items.reverse() - return items \ No newline at end of file + return items