a21cf252 by 周伟奇

fix ebank

1 parent e9bdb6cd
...@@ -40,7 +40,7 @@ class PDFHandler: ...@@ -40,7 +40,7 @@ class PDFHandler:
40 self.pdf_info = {} 40 self.pdf_info = {}
41 self.img_path_pno_list = [] 41 self.img_path_pno_list = []
42 self.ebank_title_list = [ 42 self.ebank_title_list = [
43 '微信支付交易明细证明', 43 # '微信支付交易明细证明',
44 '支付宝收支明细证明', 44 '支付宝收支明细证明',
45 '招商银行交易流水', 45 '招商银行交易流水',
46 '中国工商银行借记账户历史明细', 46 '中国工商银行借记账户历史明细',
...@@ -270,7 +270,7 @@ class PDFHandler: ...@@ -270,7 +270,7 @@ class PDFHandler:
270 270
271 def title_is_ebank(self, char): 271 def title_is_ebank(self, char):
272 for title in self.ebank_title_list: 272 for title in self.ebank_title_list:
273 if title.find(char) != -1 or char.find(title) != -1: 273 if char.find(title) != -1:
274 return True 274 return True
275 return False 275 return False
276 276
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!