46c143b2 by 周伟奇

fix bug

1 parent 591d1ac9
...@@ -226,7 +226,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -226,7 +226,7 @@ class Command(BaseCommand, LoggerMixin):
226 '{0} [ocr_4 failed] [times={1}] [img_path={2}] [error={3}]'.format( 226 '{0} [ocr_4 failed] [times={1}] [img_path={2}] [error={3}]'.format(
227 self.log_base, times, img_path, traceback.format_exc())) 227 self.log_base, times, img_path, traceback.format_exc()))
228 else: 228 else:
229 ocr_4_res = json.loads(ocr_4_response.json()) 229 ocr_4_res = ocr_4_response.json()
230 end_time = time.time() 230 end_time = time.time()
231 speed_time = int(end_time - start_time) 231 speed_time = int(end_time - start_time)
232 232
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!