浏览代码

Don't try to decode process output

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46343 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 14 年之前
父节点
当前提交
95525e8d9d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/python/core.py

+ 1 - 1
lib/python/core.py

@@ -233,7 +233,7 @@ def read_command(*args, **kwargs):
     @return stdout
     """
     ps = pipe_command(*args, **kwargs)
-    return _decode(ps.communicate()[0])
+    return ps.communicate()[0]
 
 def parse_command(*args, **kwargs):
     """!Passes all arguments to read_command, then parses the output by