Skip to content

Commit

Permalink
(fix) add autocomplete options
Browse files Browse the repository at this point in the history
  • Loading branch information
azai91 committed Nov 2, 2015
1 parent 3aca395 commit a3f8472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/todoist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a3f8472

Please sign in to comment.