Use check_output for python3.4 support
This commit is contained in:
parent
3bbd5e7929
commit
631e948548
1 changed files with 1 additions and 1 deletions
2
build.py
2
build.py
|
@ -26,7 +26,7 @@ def build(input_file, additional_args=None):
|
||||||
'-o',
|
'-o',
|
||||||
str(OUTPUT_FILE)
|
str(OUTPUT_FILE)
|
||||||
])
|
])
|
||||||
return subprocess.run(build_args, cwd=str(BASE_DIR), check=True)
|
subprocess.check_output(build_args, cwd=str(BASE_DIR))
|
||||||
|
|
||||||
|
|
||||||
def get_word_count():
|
def get_word_count():
|
||||||
|
|
Reference in a new issue