fix(bin/linja): don't double-decode Popen output
After 8ca3ee48
, `text` is always a `str` instance, which provokes an `AttributeError` in Python 3.
This commit is contained in:
parent
4e1146a2d5
commit
24b00c3a73
1 changed files with 0 additions and 2 deletions
|
@ -185,8 +185,6 @@ class FlycheckItemList:
|
|||
tmpBuffer = ""
|
||||
ignore = True
|
||||
for line in text.splitlines():
|
||||
# I had to add the following line to avoid a crash on Python 3.4 for Windows
|
||||
line = line.decode("utf-8")
|
||||
if line.startswith(g_flycheck_header):
|
||||
tmpBuffer = tmpBuffer + line + "\n"
|
||||
ignore = False
|
||||
|
|
Loading…
Reference in a new issue