Skip to content

πŸ™Œ OpenHands: AI-Driven Development

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

JeffKatzy5c438432d643
diff --git a/opendevin/core/config.py b/opendevin/core/config.py
index 5f1bbd35ea..74a5d1dd71 100644
--- a/opendevin/core/config.py
+++ b/opendevin/core/config.py
@@ -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_')]