mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
fix bug in config.py file, update reference to variable (#2984)
This commit is contained in:
@@ -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_')]
|
||||
|
||||
Reference in New Issue
Block a user