فهرست منبع

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

JeffKatzy 1 سال پیش
والد
کامیت
5c438432d6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      opendevin/core/config.py

+ 1 - 1
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_')]