From: Rob Golding Date: Tue, 27 Nov 2018 21:44:29 +0000 (+0000) Subject: Merge pull request #59 from bergercookie/develop X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/0ad882377639865283021041f19add5aeb10126a?hp=f24e18261a3d19b01bca32d5471b84729ec9efa9 Merge pull request #59 from bergercookie/develop Correct code snippet in README --- 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']