aboutsummaryrefslogtreecommitdiff
path: root/modules/todo.py
diff options
context:
space:
mode:
authorGravatar fosslinux2019-07-11 10:11:21 +1000
committerGravatar fosslinux2019-07-11 10:11:21 +1000
commit9809dfa52288a311453f6d2975e6822baa6b320c (patch)
tree8bef4db3fc084141e56303dde383f5a44af5df1b /modules/todo.py
parentWe don't need to show all dependencies in README.md (diff)
signature
consistently use 'todo list' vs 'todo'
Diffstat (limited to 'modules/todo.py')
-rw-r--r--modules/todo.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/todo.py b/modules/todo.py
index 95a5fdeb..d9816038 100644
--- a/modules/todo.py
+++ b/modules/todo.py
@@ -16,12 +16,12 @@ class Module(ModuleManager.BaseModule):
if len(todo) >= index:
event["stdout"].write("Todo %d: %s" % (index, todo[index-1]))
else:
- event["stderr"].write("You do not have that many things in your todo")
+ event["stderr"].write("You do not have that many things in your todo list")
else:
event["stderr"].write("Please provide a number")
else:
todo_count = len(todo)
- event["stdout"].write("There are %d items in your todo" % todo_count)
+ event["stdout"].write("There are %d items in your todo list" % todo_count)
@utils.hook("received.command.todoadd", min_args=1)
def todo_add(self, event):
@@ -33,7 +33,7 @@ class Module(ModuleManager.BaseModule):
todo = event["user"].get_setting("todo", [])
for item in todo:
if item.lower() == arg_lower:
- raise utils.EventError("That is already in your todo")
+ raise utils.EventError("That is already in your todo list")
todo.append(event["args"])
event["user"].set_setting("todo", todo)
event["stdout"].write("Saved")
@@ -53,7 +53,7 @@ class Module(ModuleManager.BaseModule):
event["stdout"].write("Todo item removed")
else:
event["stderr"].write("You do not have that many things in "
- "your todo")
+ "your todo list")
else:
event["stderr"].write("Please provided a todo item number to remove")