Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
louisjdmartin committed Jul 4, 2019
1 parent e4d05d6 commit 1130cef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ python export-all.py input.html ouput-folder/
- `--runtime` will export run-time report only (ignored if `--misra`).
- `-y` will force overwrite if output files already exist.
- `--poly14` will read report from polyspace 2014
- `--csv` will export data in CSV instead of xlsx

## Create you own export script
You can also create you own script if needed. With `HTMLReader` you can
Expand Down
3 changes: 2 additions & 1 deletion exportcsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def stringtofilename(value):
def __init__(self, filename):
self.sheets = dict()
self.filename = filename
shutil.rmtree(self.filename)
if os.path.exists(self.filename):
shutil.rmtree(self.filename)
os.mkdir(self.filename)
self.output = os.path.abspath(self.filename)

Expand Down

0 comments on commit 1130cef

Please sign in to comment.