Skip to content

Commit

Permalink
voctopublish: fix config loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Feb 7, 2024
1 parent 25bb21d commit 5befebf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion voctopublish/voctopublish.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def __init__(self):
f'Could not find a valid config in any of these paths: {" ".join(POSSIBLE_CONFIG_PATHS)}'
)

self.config = toml_load(my_config_path)
with open(my_config_path) as f:
self.config = toml_load(f.read())

# set up logging
logging.addLevelName(
Expand Down

0 comments on commit 5befebf

Please sign in to comment.