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 += '