From 9976dbd1f6e8b08a6b1bcebd1c5a9b1cf07924aa Mon Sep 17 00:00:00 2001 From: Nelson Torres Date: Thu, 30 Jan 2025 01:38:22 +0000 Subject: [PATCH] minor get_config fix --- piker/brokers/deribit/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/deribit/api.py b/piker/brokers/deribit/api.py index 10736083..1297193b 100644 --- a/piker/brokers/deribit/api.py +++ b/piker/brokers/deribit/api.py @@ -228,7 +228,7 @@ def get_config() -> dict[str, Any]: ) conf_option = section.get('option', {}) - section.clear # clear the dict to reuse it + section = {} # clear the dict to reuse it section['deribit'] = {} section['deribit']['key_id'] = conf_option.get('api_key') section['deribit']['key_secret'] = conf_option.get('api_secret')