diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-10-01 11:54:18 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2019-10-01 11:54:18 +0200 |
commit | 21e9b9b41fa57ef9d6b43a36a55f545ec0c896d2 (patch) | |
tree | 701f48969df5aa11501cbb630c8f2f7c0d02c7db /scripts/asciidoc2html.py | |
parent | 2dfe2b170acfa8716dd571f42e1f726a47821730 (diff) | |
download | qutebrowser-21e9b9b41fa57ef9d6b43a36a55f545ec0c896d2.tar.gz qutebrowser-21e9b9b41fa57ef9d6b43a36a55f545ec0c896d2.zip |
Specify 'check' with subprocess.run
Diffstat (limited to 'scripts/asciidoc2html.py')
-rwxr-xr-x | scripts/asciidoc2html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py index 2825c2ac4..8a691b067 100755 --- a/scripts/asciidoc2html.py +++ b/scripts/asciidoc2html.py @@ -226,7 +226,7 @@ class AsciiDoc: try: subprocess.run(['asciidoc'], stdout=subprocess.DEVNULL, - stderr=subprocess.DEVNULL) + stderr=subprocess.DEVNULL, check=True) except OSError: pass else: @@ -234,7 +234,7 @@ class AsciiDoc: try: subprocess.run(['asciidoc.py'], stdout=subprocess.DEVNULL, - stderr=subprocess.DEVNULL) + stderr=subprocess.DEVNULL, check=True) except OSError: pass else: |