1

Use check_output for python3.4 support

This commit is contained in:
Jake Howard 2018-03-28 21:41:17 +01:00
parent 3bbd5e7929
commit 631e948548
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -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():