Skip to content

Commit

Permalink
Add missing utf-8 encoding to read config.
Browse files Browse the repository at this point in the history
  • Loading branch information
cschaefer26 committed Sep 17, 2021
1 parent a6081bc commit b8f1707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dp/utils/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def read_config(path: str) -> Dict[str, Any]:
"""

with open(path, 'r') as stream:
with open(path, 'r', encoding='utf-8') as stream:
config = yaml.load(stream, Loader=yaml.FullLoader)
return config

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='deep-phonemizer',
version='0.0.15',
version='0.0.17',
author='Christian Schäfer',
author_email='[email protected]',
description='Grapheme to phoneme conversion with deep learning.',
Expand Down

0 comments on commit b8f1707

Please sign in to comment.