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