From 7f1ac27713d5c1a53e676faf080f3c952f951da2 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 9 Dec 2018 13:06:15 +0800 Subject: [PATCH] Update index.py --- plugins/csvn/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/csvn/index.py b/plugins/csvn/index.py index 988e4f1bd..509bc8389 100755 --- a/plugins/csvn/index.py +++ b/plugins/csvn/index.py @@ -71,9 +71,11 @@ def csvnOp(method): _initd_csvn = '/etc/init.d/csvn' _initd_csvn_httpd = '/etc/init.d/csvn-httpd' + #_csvn = getServerDir() + '/bin/csvn' + #_csvn_httpd = getServerDir() + '/bin/csvn-httpd' - ret_csvn = public.execShell(_initd_csvn + ' ' + method) ret_csvn_httpd = public.execShell(_initd_csvn + ' ' + method) + ret_csvn = public.execShell(_initd_csvn + ' ' + method) if ret_csvn[1] == '' and ret_csvn_httpd[1] == '': return 'ok' return 'fail'