Skip to content
Snippets Groups Projects
Commit 6779f650 authored by Luis Araujo's avatar Luis Araujo
Browse files

Fix the index page option for single files


Just create an index page for single files when the -i option
is passed like expected.

Signed-off-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
parent c61d1720
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,8 @@ if '__main__' == __name__:
if os.path.isfile(args.yaml_files):
generate_test_case_page(args.yaml_files, directory)
index_files.append(args.yaml_files)
if args.index_page:
index_files.append(args.yaml_files)
else:
c = 0
for root, _, files in os.walk(args.yaml_files):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment