From a3f8472c7b06621ae1bd43adede2325b832df261 Mon Sep 17 00:00:00 2001 From: Alex Zai Date: Sun, 1 Nov 2015 16:38:18 -0800 Subject: [PATCH] (fix) add autocomplete options --- src/todoist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/todoist.py b/src/todoist.py index 2798ab8..701ea86 100644 --- a/src/todoist.py +++ b/src/todoist.py @@ -15,12 +15,12 @@ def main(_): valid=False ) - if user_input in "Add Account": + if user_input.lower() in "Add Account".lower(): wf.add_item(title="Add Account", arg="login", autocomplete='Add Account', valid=True) - if user_input in "Remove Account": + if user_input.lower() in "Remove Account".lower(): wf.add_item(title="Remove Account", arg="logout", autocomplete="Remove Account",