minor get_config fix

Nelson Torres 2025-01-30 01:38:22 +00:00
parent eb4163ea06
commit 9976dbd1f6
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ def get_config() -> dict[str, Any]:
) )
conf_option = section.get('option', {}) conf_option = section.get('option', {})
section.clear # clear the dict to reuse it section = {} # clear the dict to reuse it
section['deribit'] = {} section['deribit'] = {}
section['deribit']['key_id'] = conf_option.get('api_key') section['deribit']['key_id'] = conf_option.get('api_key')
section['deribit']['key_secret'] = conf_option.get('api_secret') section['deribit']['key_secret'] = conf_option.get('api_secret')