Closed niknow closed 9 years ago
You should separate the arguments as follows:
tw.tasks.filter('1', 'pro:foo')
tw.tasks.filter('pri:H', 'pro:foo')
Otherwise the corresponding task commands are:
$ task "1 pro:foo"
$ task "pri:H pro:foo"
and not:
$ task 1 pro:foo
$ task pri:H pro:foo
This is indeed the reason. Thanks for quickly resolving this issue so easily. ;)
Well, the code was already there, all I did was point you to the right direction :)
Hi,
I was trying out the following script with TaskWarrior 2.4.4. and tasklib 0.10.0 in Python 3.4:
Should'nt the last one also return the task? The command line behaviour is exactly as expected:
To make things worse: If we now set the priority of the task to
H
and run