Skip to content

Commit

Permalink
Update voicevox_engine/resource_manager.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
  • Loading branch information
sabonerune and Hiroshiba authored Jun 18, 2024
1 parent d9a28e0 commit ade94ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voicevox_engine/resource_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def register_dir(self, resource_dir: Path) -> None:
if self._create_filemap_if_not_exist:
self._path_to_hash |= {
i: sha256(i.read_bytes()).digest().hex()
for i in resource_dir.glob("**/*")
for i in resource_dir.rglob("*")
if i.is_file()
}
else:
Expand Down

0 comments on commit ade94ff

Please sign in to comment.