From 81a8cd168555cb0fec2d6c48b74148dd5e383bb6 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 1 Oct 2023 17:37:09 -0400 Subject: [PATCH] binance: always load the `brokers.toml` file since default is `conf.toml` now --- piker/brokers/binance/api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/piker/brokers/binance/api.py b/piker/brokers/binance/api.py index 292199d0..0055668d 100644 --- a/piker/brokers/binance/api.py +++ b/piker/brokers/binance/api.py @@ -83,7 +83,10 @@ def get_config() -> dict: conf: dict path: Path - conf, path = config.load(touch_if_dne=True) + conf, path = config.load( + conf_name='brokers', + touch_if_dne=True, + ) section = conf.get('binance')