fix bug
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment