75758276 by 周伟奇

fix order

1 parent bffd2595
......@@ -77,7 +77,7 @@ RES_SHEET_HEADER = ('页码', '序号', '结果')
RES_SUCCESS = '识别成功'
RES_SUCCESS_OTHER = '识别成功(其他类)'
RES_SUCCESS_EMPTY = '识别成功(空数据)'
RES_FAILED = '识别识别'
RES_FAILED = '识别失败'
CARD_RATIO = 0.9
UNKNOWN_CARD = '未知卡号'
......
......@@ -504,6 +504,7 @@ class BSWorkbook(Workbook):
def res_sheet(self, res_list):
if res_list:
res_list.sort(key=lambda x: (x[0], x[1]))
ws = self.create_sheet(consts.RES_SHEET_NAME)
ws.append(consts.RES_SHEET_HEADER)
for res_tuple in res_list:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!