mirror of https://github.com/morpheus65535/bazarr
Fix for #707.
This commit is contained in:
parent
8d9023af80
commit
26b48b1759
|
@ -179,7 +179,7 @@ class VideoFileParser:
|
||||||
if PY3:
|
if PY3:
|
||||||
command = [parser] + commandArgs + [inputFile]
|
command = [parser] + commandArgs + [inputFile]
|
||||||
completedProcess = subprocess.run(
|
completedProcess = subprocess.run(
|
||||||
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True
|
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True
|
||||||
)
|
)
|
||||||
if completedProcess.returncode:
|
if completedProcess.returncode:
|
||||||
raise IOError(
|
raise IOError(
|
||||||
|
|
Loading…
Reference in New Issue