MOD single page info
Showing
2 changed files
with
4 additions
and
1 deletions
... | @@ -1599,7 +1599,8 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -1599,7 +1599,8 @@ class Command(BaseCommand, LoggerMixin): |
1599 | time.sleep(self.sleep_time_img_put) | 1599 | time.sleep(self.sleep_time_img_put) |
1600 | if pdf_handler.is_e_weixin_bs: | 1600 | if pdf_handler.is_e_weixin_bs: |
1601 | try: | 1601 | try: |
1602 | text_list = pdf_handler.page_text_list | 1602 | #self.online_log.info('{0} [pdf_2_img_2_queue] [img_idx={1}] [page_text_list={2}]'.format(self.log_base, img_idx, pdf_handler.page_text_list)) |
1603 | text_list = pdf_handler.page_text_list[img_idx].pop('rebuild_text') | ||
1603 | except Exception as e: | 1604 | except Exception as e: |
1604 | text_list = [] | 1605 | text_list = [] |
1605 | else: | 1606 | else: | ... | ... |
... | @@ -187,6 +187,8 @@ class PDFHandler: | ... | @@ -187,6 +187,8 @@ class PDFHandler: |
187 | self.img_path_list.append(img_save_path) | 187 | self.img_path_list.append(img_save_path) |
188 | if self.is_ebank: | 188 | if self.is_ebank: |
189 | self.rebuild_bbox(pm.width, pm.height, page.number) | 189 | self.rebuild_bbox(pm.width, pm.height, page.number) |
190 | if self.is_e_weixin_bs: | ||
191 | self.rebuild_bbox(pm.width, pm.height, page.number) | ||
190 | 192 | ||
191 | @staticmethod | 193 | @staticmethod |
192 | def getimage(pix): | 194 | def getimage(pix): | ... | ... |
-
Please register or sign in to post a comment