X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/4017ab99e0dededcaef60839c93e12dc5885bd5d..141660ecf88b2be17b9685dc2d908b73386ad03a:/tasklib/task.py?ds=sidebyside diff --git a/tasklib/task.py b/tasklib/task.py index 280f961..9246e1f 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -252,7 +252,7 @@ class TaskWarrior(object): logger.debug(' '.join(command_args)) p = subprocess.Popen(command_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - stdout, stderr = p.communicate() + stdout, stderr = [x.decode() for x in p.communicate()] if p.returncode: if stderr.strip(): error_msg = stderr.strip().splitlines()[-1]