From 8f6aae7e4c8b301db8fbd27117bf807ac4a68e1b Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 28 Feb 2019 14:47:08 +0800 Subject: [PATCH] Update index.py --- plugins/pm2/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pm2/index.py b/plugins/pm2/index.py index dcec64d32..919d2f0ab 100755 --- a/plugins/pm2/index.py +++ b/plugins/pm2/index.py @@ -97,7 +97,7 @@ def pm2Log(): def pm2GetList(): try: - tmp = public.execShell("pm2 list|grep -v 'pm2 show'") + tmp = public.execShell(__SR + "pm2 list|grep -v 'pm2 show'") t2 = tmp[0].replace("│", "").replace("└", "").replace( "─", "").replace("┴", "").replace("┘", "").strip().split("┤") if len(t2) == 1: