Make `.config.load_accounts()` load `brokers.toml`..

distribute_dis
Tyler Goodlet 2023-10-01 19:09:15 -04:00
parent e5fdb33e31
commit 637d33d7cc
1 changed files with 3 additions and 1 deletions

View File

@ -358,7 +358,9 @@ def load_accounts(
) -> bidict[str, str | None]: ) -> bidict[str, str | None]:
conf, path = load() conf, path = load(
conf_name='brokers',
)
accounts = bidict() accounts = bidict()
for provider_name, section in conf.items(): for provider_name, section in conf.items():
accounts_section = section.get('accounts') accounts_section = section.get('accounts')