0c063b47 by 冯轩

FIX:max_img_count_or_none

1 parent 51097b47
...@@ -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(
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!