Commit 2749db77 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

regtest: Fix crash when creating HTML report for a single test

parent 1c8e1bb6
......@@ -53,9 +53,6 @@ class CreateReport(Command):
docs_dir = os.path.dirname(doc)
report = HTMLReport(docs_dir, options['refs_dir'], options['out_dir'])
if doc == docs_dir:
report.create()
else:
report.create_for_file(os.path.basename(doc))
report.create()
register_command('create-report', CreateReport)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment