Merge branch 'feature/contract' into feature/0611
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -706,8 +706,8 @@ class BSWorkbook(Workbook): | ... | @@ -706,8 +706,8 @@ class BSWorkbook(Workbook): |
706 | if len(contract_result) == 0: | 706 | if len(contract_result) == 0: |
707 | return | 707 | return |
708 | ws = self.create_sheet(consts.CONTRACT_SHEET_NAME) | 708 | ws = self.create_sheet(consts.CONTRACT_SHEET_NAME) |
709 | for page_num, info_list in contract_result: | 709 | for page_num, info_list in contract_result.items(): |
710 | ws.append('page {0}'.format(page_num)) | 710 | ws.append(('page {0}'.format(page_num), )) |
711 | for info in info_list: | 711 | for info in info_list: |
712 | for row in info: | 712 | for row in info: |
713 | ws.append(row) | 713 | ws.append(row) | ... | ... |
-
Please register or sign in to post a comment