diff options
Diffstat (limited to 'ycm_extra_conf.py')
-rw-r--r-- | ycm_extra_conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ycm_extra_conf.py b/ycm_extra_conf.py index e4bde94..4f48279 100644 --- a/ycm_extra_conf.py +++ b/ycm_extra_conf.py @@ -24,7 +24,7 @@ def ExpandBackTicks(line): bts = re.search("^([^`]*)`([^`]*)`(.*)$", line) if bts and (len(bts.groups()) >= 3): p = subprocess.Popen(bts.group(2), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) - line = bts.group(1) + p.stdout.read() + bts.group(3); + line = bts.group(1) + p.stdout.read().decode("utf-8") + bts.group(3); return ExpandBackTicks(line) return line |