diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-03-02 08:58:29 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-03-02 08:58:29 +0100 |
commit | ba6329bbe14c832d42773dee2fe30bd7669ca255 (patch) | |
tree | 4cd2771d95adaba0663fd7879b1666ebd3ef3cb9 /bsie/apps/_loader.py | |
parent | 70d77819a84c73292825b81f952e162bb30753d7 (diff) | |
download | bsie-ba6329bbe14c832d42773dee2fe30bd7669ca255.tar.gz bsie-ba6329bbe14c832d42773dee2fe30bd7669ca255.tar.bz2 bsie-ba6329bbe14c832d42773dee2fe30bd7669ca255.zip |
various minor fixes
Diffstat (limited to 'bsie/apps/_loader.py')
-rw-r--r-- | bsie/apps/_loader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsie/apps/_loader.py b/bsie/apps/_loader.py index 36dd8a6..6411f10 100644 --- a/bsie/apps/_loader.py +++ b/bsie/apps/_loader.py @@ -16,8 +16,8 @@ DEFAULT_CONFIG_FILE = 'default_config.yaml' # exports __all__: typing.Sequence[str] = ( - 'load', 'DEFAULT_CONFIG_FILE', + 'load_pipeline', ) @@ -26,7 +26,7 @@ __all__: typing.Sequence[str] = ( def load_pipeline(path: str) -> Pipeline: """Load a pipeline according to a config at *path*.""" # load config file - with open(path, 'rt') as ifile: + with open(path, 'rt', encoding='utf-8') as ifile: cfg = yaml.safe_load(ifile) # reader builder |