From ade25ab6ef26a73da25b3be09658ea39875dd6f3 Mon Sep 17 00:00:00 2001 From: Rob Golding Date: Wed, 5 Jun 2013 12:09:17 +0100 Subject: [PATCH] Pass config_override through properly --- tasklib/task.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasklib/task.py b/tasklib/task.py index 411ce7a..5a223e2 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -234,8 +234,10 @@ class TaskWarrior(object): return command_args def execute_command(self, args, config_override={}): - p = subprocess.Popen(self._get_command_args(args), - stdout=subprocess.PIPE, stderr=subprocess.PIPE) + command_args = self._get_command_args( + args, config_override=config_override) + p = subprocess.Popen(command_args, stdout=subprocess.PIPE, + stderr=subprocess.PIPE) stdout, stderr = p.communicate() if p.returncode: error_msg = stderr.strip().splitlines()[-1] -- 2.39.5