build_release: Fix running with --no-asciidoc

This commit is contained in:
Florian Bruhin 2018-09-19 11:39:21 +02:00
parent 7763287b10
commit f05efcc47f

View File

@ -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':