0c063b47 by 冯轩

FIX:max_img_count_or_none

1 parent 51097b47
......@@ -1536,7 +1536,7 @@ class Command(BaseCommand, LoggerMixin):
self.log_base, task_str, times))
start_time = time.time()
max_img_count_or_none = None if re_ocr_flag == 'Y' else max_img_count
pdf_handler.extract_image_for_weixin(max_img_count)
pdf_handler.extract_image_for_weixin(max_img_count_or_none)
end_time = time.time()
speed_time = int(end_time - start_time)
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!