Update index.py

This commit is contained in:
Mr Chen 2024-11-24 06:18:15 +08:00
parent 8d6e0f049c
commit e9efc4cc35
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def initDreplace():
mw.writeFile(conf, conf_content)
if os.path.exists(systemDir) and not os.path.exists(systemService):
activate_file = mw.getRunDir() + '/bin/activate'
activate_file = mw.getPanelDir() + '/bin/activate'
if os.path.exists(activate_file):
supervisord_bin = mw.execShell(
'source ' + activate_file + '&& which supervisord')[0].strip()