Foivos 9 years ago
parent
commit
568dfdcc62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      org_reader/org_reader.py

+ 1 - 1
org_reader/org_reader.py

@@ -68,7 +68,7 @@ class OrgReader(readers.BaseReader):
 
         LOG.debug("OrgReader: running command `{0}`".format(cmd))
 
-        json_result = subprocess.check_output(cmd)
+        json_result = subprocess.check_output(cmd, universal_newlines=True)
         json_output = json.loads(json_result)
 
         slug, e = os.path.splitext(os.path.basename(filename))