X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/2fd5546d721efa71544cbf028af6fb99d382426b..dcf6974cde7c3c425522bd5e8a582f7a9aa6c8ac:/README.rst diff --git a/README.rst b/README.rst index b3dce21..731241c 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ Usage tasklib has a similar API to that of Django's ORM:: - >>> from tasklib.task import TaskWarrior + >>> from tasklib import TaskWarrior >>> tw = TaskWarrior('/home/rob/.task') >>> tasks = tw.tasks.pending() @@ -40,7 +40,7 @@ tasklib has a similar API to that of Django's ORM:: ['Tidy the house'] >>> type(tasks[0]) - >>> task[0].done() + >>> tasks[0].done() >>> tasks = tw.tasks.pending() >>> tasks ['Learn German']