From f05efcc47fefcb28942ce0ece689a823037442ab Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 19 Sep 2018 11:39:21 +0200 Subject: [PATCH] build_release: Fix running with --no-asciidoc --- scripts/dev/build_release.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index a4e3a8e90..d42c45635 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -384,7 +384,9 @@ def main(): import github3 # pylint: disable=unused-variable read_github_token() - if not args.no_asciidoc: + if args.no_asciidoc: + os.makedirs(os.path.join('qutebrowser', 'html', 'doc')) + else: run_asciidoc2html(args) if os.name == 'nt':