Skip to content

Commit

Permalink
ensure --title takes precedence
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
  • Loading branch information
Lawouach committed Jan 14, 2024
1 parent b0b8cec commit bca5e4b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@

## [Unreleased][]

[Unreleased]: https://github.com/chaostoolkit/chaostoolkit-reporting/compare/0.17.0...HEAD
[Unreleased]: https://github.com/chaostoolkit/chaostoolkit-reporting/compare/0.17.1...HEAD

## [0.17.1][] - 2024-01-14

[0.17.1]: https://github.com/chaostoolkit/chaostoolkit-reporting/compare/0.17.0...0.17.1

### Fixed

- Ensure `--title` takes precedence when set. Thanks to @mcastellin for
investigating

## [0.17.0][] - 2024-01-05

Expand Down
4 changes: 2 additions & 2 deletions chaosreport/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"generate_report_header",
"save_report",
]
__version__ = "0.17.0"
__version__ = "0.17.1"

curdir = os.getcwd()
basedir = os.path.dirname(__file__)
Expand All @@ -50,7 +50,7 @@ def generate_report_header(
header_template = get_report_template(None, "header.md")

header_info = {}
header_info["title"] = "Chaos Engineering Report" or title
header_info["title"] = title or "Chaos Engineering Report"
header_info["today"] = datetime.now().strftime("%d %B %Y")
header_info["export_format"] = export_format
tags = []
Expand Down

0 comments on commit bca5e4b

Please sign in to comment.