소스 검색

删除不存在的wp对象

dongzhaorui 1 년 전
부모
커밋
03bf7eb1d5
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      zgztb_cookie/detail_normol.py

+ 0 - 1
zgztb_cookie/detail_normol.py

@@ -71,7 +71,6 @@ def handle_html(html, default=None):
         execute = tools.compile_js(js)
         ret = execute('renderHtml', html)
         ret = htmlparser.unescape(ret)  # 特殊符号解码
-        wp.write(ret)
 
         root = fromstring(ret)
         for element in root.xpath('//span[contains(@title, "!important")]'):