ioccheck
ioccheck copied to clipboard
HTML reports are not generated.
Expected behavior is for a .html file to be created in the current directory when --report HTML is passed as an argument.
This if statement in iocheck/cli/__init__.py fails.
if isinstance(ioc, Hash):
html_report = HTMLHashReport(ioc, templates_dir)
elif isinstance(ioc, IP):
html_report = HTMLIPReport(ioc, templates_dir)
html_report.generate()
Causing an error where html_report is referenced before assignment.