Make `.config.load_accounts()` load `brokers.toml`..
parent
e5fdb33e31
commit
637d33d7cc
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue