We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdb25d7 commit 72a4559Copy full SHA for 72a4559
1 file changed
tasklib/backends.py
@@ -329,7 +329,7 @@ def get_task(self, uuid):
329
330
def filter_tasks(self, filter_obj):
331
self.enforce_recurrence()
332
- args = ['export'] + filter_obj.get_filter_params()
+ args = filter_obj.get_filter_params() + ["export"]
333
tasks = []
334
for line in self.execute_command(args):
335
if line:
@@ -427,8 +427,7 @@ def valid(output):
427
for key, value in data.items():
428
taskfilter.add_filter_param(key, value)
429
430
- output = self.execute_command(['export'] +
431
- taskfilter.get_filter_params())
+ output = self.execute_command(taskfilter.get_filter_params() + ['export'])
432
433
# If more than 1 task has been matched still, raise an exception
434
if not valid(output):
0 commit comments