From cb75af4d877dc68c785b31419d9594838a6df603 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 25 Apr 2019 18:03:00 +0800 Subject: [PATCH] oo --- plugins/op_waf/index.py | 5 +++++ plugins/op_waf/js/op_waf.js | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py index d894324a2..d6e672c44 100755 --- a/plugins/op_waf/index.py +++ b/plugins/op_waf/index.py @@ -187,6 +187,9 @@ def getWafConf(): conf = getJsonPath('config') return public.readFile(conf) +def getWafSite(): + return '' + if __name__ == "__main__": func = sys.argv[1] @@ -210,5 +213,7 @@ if __name__ == "__main__": print getWafSrceen() elif func == 'waf_conf': print getWafConf() + elif func == 'waf_site': + print getWafSite() else: print 'error' diff --git a/plugins/op_waf/js/op_waf.js b/plugins/op_waf/js/op_waf.js index cd6601345..537085a09 100755 --- a/plugins/op_waf/js/op_waf.js +++ b/plugins/op_waf/js/op_waf.js @@ -171,7 +171,6 @@ function wafSite(){ function wafHistory(){ - var con = ''; con += '
\ \