40f5e56c by 周伟奇

fix zhifubao

1 parent 72428994
...@@ -148,8 +148,8 @@ class BSWorkbook(Workbook): ...@@ -148,8 +148,8 @@ class BSWorkbook(Workbook):
148 key=lambda x: sheet_header_info[x][consts.FIND_COUNT_KEY]) 148 key=lambda x: sheet_header_info[x][consts.FIND_COUNT_KEY])
149 best_sheet_info = sheet_header_info.get(sheet_order_list[0]) 149 best_sheet_info = sheet_header_info.get(sheet_order_list[0])
150 max_find_count = best_sheet_info.get(consts.FIND_COUNT_KEY, 0) 150 max_find_count = best_sheet_info.get(consts.FIND_COUNT_KEY, 0)
151 # if max_find_count == 0 or classify == consts.NEW_ZHIFUBAO_CLASSIFY: 151 if max_find_count == 0 or classify == consts.NEW_ZHIFUBAO_CLASSIFY:
152 if max_find_count == 0: 152 # if max_find_count == 0:
153 if special_nhzs: 153 if special_nhzs:
154 classify = consts.SPECIAL_NYZS_CLASSIFY 154 classify = consts.SPECIAL_NYZS_CLASSIFY
155 for key, value in consts.CLASSIFY_MAP.items(): 155 for key, value in consts.CLASSIFY_MAP.items():
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!