Skip to content

Commit

Permalink
Better docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
rlan committed May 29, 2024
1 parent 1c7fcd0 commit 4ab12e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/beancount_multitool/get_beancount_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ def get_beancount_config(config: dict) -> dict:
dict
config["beancount"]
Raises
------
KeyError
if "beancount" key does not exist.
"""
if "beancount" in config:
return config["beancount"]
Expand Down

0 comments on commit 4ab12e0

Please sign in to comment.