소스 검색

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