diff --git a/CHANGELOG.md b/CHANGELOG.md index 7258d09..2555e08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Changes + +* Update ACCERT output name + ([#120](https://github.com/watts-dev/watts/pull/120)) + ## [0.5.2] ### Added diff --git a/src/watts/plugin_accert.py b/src/watts/plugin_accert.py index f10699a..dce11ce 100644 --- a/src/watts/plugin_accert.py +++ b/src/watts/plugin_accert.py @@ -87,7 +87,7 @@ def total_cost(self) -> float: @property def account_table(self) -> pd.DataFrame: - account_file = self.base_path / 'ACCERT_updated_account.xlsx' + account_file = next(self.base_path.glob('*_updated_account.xlsx'), None) if Path(account_file).exists(): return pd.read_excel(account_file) else: