fkie-cad / fact_extractor

Standalone Utility for FACT-like extraction
GNU General Public License v3.0
81 stars 31 forks source link

Create report folder in output directory if it doesn't exist #51

Closed JRomainG closed 4 years ago

JRomainG commented 4 years ago

When running fact_extractor a non-existing directory as output location, the report folder doesn't seem to get created, which results in an Exception when creating the meta.json file.

dorpvom commented 4 years ago

Hi, I had the same issue today actually. Still, I'd like to handle this in the CLI module (i.e. fact_extractor/fact_extract.py). Would this solve your use case as well?

JRomainG commented 4 years ago

That should solve it, I'll edit the MR to move the code to fact_extract.py

JRomainG commented 4 years ago

No worries, thanks for the merge!