Skip to content

Commit cb2f79c

Browse files
authored
Merge pull request #120 from JiaZhou-PU/accertupdate
Update ACCERT output name
2 parents ecfc6c9 + 430f30b commit cb2f79c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Changes
11+
12+
* Update ACCERT output name
13+
([#120](https://github.com/watts-dev/watts/pull/120))
14+
1015
## [0.5.2]
1116

1217
### Added

src/watts/plugin_accert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def total_cost(self) -> float:
8787

8888
@property
8989
def account_table(self) -> pd.DataFrame:
90-
account_file = self.base_path / 'ACCERT_updated_account.xlsx'
90+
account_file = next(self.base_path.glob('*_updated_account.xlsx'), None)
9191
if Path(account_file).exists():
9292
return pd.read_excel(account_file)
9393
else:

0 commit comments

Comments
 (0)