66e2f986 by 周伟奇

fix bug

1 parent fe23c4f5
......@@ -706,8 +706,8 @@ class BSWorkbook(Workbook):
if len(contract_result) == 0:
return
ws = self.create_sheet(consts.CONTRACT_SHEET_NAME)
for page_num, info_list in contract_result:
ws.append('page {0}'.format(page_num))
for page_num, info_list in contract_result.items():
ws.append(('page {0}'.format(page_num), ))
for info in info_list:
for row in info:
ws.append(row)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!