Skip to content

Commit bc87101

Browse files
feat: add MAXKB_SANDBOX_PYTHON_PACKAGE_PATHS env.
1 parent 4c04be7 commit bc87101

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/maxkb/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ def get_language_code(self):
101101
def get_log_level(self):
102102
return self.get('LOG_LEVEL', 'DEBUG')
103103

104+
def get_sandbox_python_package_paths(self):
105+
return self.get('SANDBOX_PYTHON_PACKAGE_PATHS', '/opt/py3/lib/python3.11/site-packages,/opt/maxkb-app/sandbox/python-packages,/opt/maxkb/python-packages')
106+
104107
def get_session_timeout(self):
105108
return int(self.get('SESSION_TIMEOUT', 28800))
106109

0 commit comments

Comments
 (0)