GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
147 stars 28 forks source link

Task: Add 'completed' parameter to the Task object #10

Closed tbabej closed 9 years ago

tbabej commented 9 years ago

I find property on the Task object itself more useful and concise than typing comparing task ID to 0 each time.

tbabej commented 9 years ago

Just discard this pull request, I completely overlooked the "status" attribute (and the implementation of this suggested approach is not correct either, turns out the ID can be non-zero for completed tasks).