fix bug in config.py file, update reference to variable (#2984)

This commit is contained in:
JeffKatzy
2024-07-17 15:56:07 -04:00
committed by GitHub
parent 70b2238f5e
commit 5c438432d6

View File

@@ -470,7 +470,7 @@ def load_from_toml(cfg: AppConfig, toml_file: str = 'config.toml'):
try:
# set sandbox config from the toml file
sandbox_config = config.sandbox
sandbox_config = cfg.sandbox
# migrate old sandbox configs from [core] section to sandbox config
keys_to_migrate = [key for key in core_config if key.startswith('sandbox_')]