From 8d6589d1d7602f21570aeccd55f75bd9032fcac4 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 9 Dec 2018 12:40:43 +0800 Subject: [PATCH] Update index.py --- plugins/csvn/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/csvn/index.py b/plugins/csvn/index.py index 202a49226..e45c3fd51 100755 --- a/plugins/csvn/index.py +++ b/plugins/csvn/index.py @@ -68,7 +68,7 @@ def csvnOp(method): ret_csvn = public.execShell(_initd_csvn + ' ' + method) ret_csvn_httpd = public.execShell(_initd_csvn + ' ' + method) - if ret_csvn[1] == '' & & ret_csvn_httpd[1] == '': + if ret_csvn[1] == '' and ret_csvn_httpd[1] == '': return 'ok' return 'fail'