Fix syntax error

This commit is contained in:
Akbar Rahman 2021-08-24 14:39:30 +01:00
parent 94a047e51b
commit 1c72f127d3

View File

@ -134,7 +134,7 @@ def main(args):
with open(args.extra_index_content) as fp: with open(args.extra_index_content) as fp:
EXTRA_INDEX_CONTENT = fp.read() EXTRA_INDEX_CONTENT = fp.read()
if args.output_dir.is_file() if args.output_dir.is_file():
print(f"Output directory ({args.output_dir}) cannot be a file.") print(f"Output directory ({args.output_dir}) cannot be a file.")
args.output_dir.mkdir(parents=True, exist_ok=True) args.output_dir.mkdir(parents=True, exist_ok=True)