Skip to content

Commit acf02db

Browse files
committed
fix: ensure SANDBOX config value is correctly converted to integer
1 parent 5f28eb5 commit acf02db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/application/flow/backend/sandbox_shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from maxkb.const import CONFIG
99

10-
_enable_sandbox = bool(init(CONFIG.get('SANDBOX', 0)))
10+
_enable_sandbox = bool(int(CONFIG.get('SANDBOX', 0)))
1111
_run_user = 'sandbox' if _enable_sandbox else getpass.getuser()
1212
_sandbox_python_sys_path = CONFIG.get_sandbox_python_package_paths().replace(',', ':')
1313

0 commit comments

Comments
 (0)