From 0217f08c8bd255be1a64803bb359e66cf1e9fb59 Mon Sep 17 00:00:00 2001
From: Rob Golding <rob@robgolding.com>
Date: Fri, 8 Nov 2013 22:24:26 +0000
Subject: [PATCH] Fix TypeError in Python 3

---
 tasklib/task.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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]
-- 
2.39.5