FIX:max_img_count_or_none
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1536,7 +1536,7 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -1536,7 +1536,7 @@ class Command(BaseCommand, LoggerMixin): |
1536 | self.log_base, task_str, times)) | 1536 | self.log_base, task_str, times)) |
1537 | start_time = time.time() | 1537 | start_time = time.time() |
1538 | max_img_count_or_none = None if re_ocr_flag == 'Y' else max_img_count | 1538 | max_img_count_or_none = None if re_ocr_flag == 'Y' else max_img_count |
1539 | pdf_handler.extract_image_for_weixin(max_img_count) | 1539 | pdf_handler.extract_image_for_weixin(max_img_count_or_none) |
1540 | end_time = time.time() | 1540 | end_time = time.time() |
1541 | speed_time = int(end_time - start_time) | 1541 | speed_time = int(end_time - start_time) |
1542 | self.online_log.info('{0} [pdf to img end] [task={1}] [times={2}] [spend_time={3}] [is_new_modify={4}]'.format( | 1542 | self.online_log.info('{0} [pdf to img end] [task={1}] [times={2}] [spend_time={3}] [is_new_modify={4}]'.format( | ... | ... |
-
Please register or sign in to post a comment