mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update plugin.py
This commit is contained in:
+1
-1
@@ -846,7 +846,7 @@ class plugin(object):
|
||||
source_bin_activate = mw.getPanelDir() + "/bin/activate"
|
||||
py_cmd_dir = 'cd ' + mw.getPanelDir()
|
||||
if os.path.exists(source_bin_activate):
|
||||
py_cmd_dir += " && source "+source_bin_activate
|
||||
py_cmd_dir += " && . "+source_bin_activate
|
||||
do_cmd = py_cmd_dir + " && "+ py_cmd
|
||||
data = mw.execShell(do_cmd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user