modify bs count
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -708,7 +708,7 @@ class BSWorkbook(Workbook): | ... | @@ -708,7 +708,7 @@ class BSWorkbook(Workbook): |
| 708 | self.remove(self.get_sheet_by_name('Sheet')) | 708 | self.remove(self.get_sheet_by_name('Sheet')) |
| 709 | 709 | ||
| 710 | def rebuild(self, bs_summary, license_summary, res_list, document_scheme): | 710 | def rebuild(self, bs_summary, license_summary, res_list, document_scheme): |
| 711 | count_list = [(consts.MODEL_FIELD_BS, len(self.sheetnames) - 1)] | 711 | count_list = [(consts.MODEL_FIELD_BS, len(bs_summary))] |
| 712 | if document_scheme == consts.DOC_SCHEME_LIST[1]: | 712 | if document_scheme == consts.DOC_SCHEME_LIST[1]: |
| 713 | self.license_rebuild(license_summary, document_scheme, count_list) | 713 | self.license_rebuild(license_summary, document_scheme, count_list) |
| 714 | self.bs_rebuild(bs_summary) | 714 | self.bs_rebuild(bs_summary) | ... | ... |
-
Please register or sign in to post a comment