Skip to content

Commit b43d68b

Browse files
committed
🎨update tool-infer
1 parent eb9820a commit b43d68b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

client/tool/util/infer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import shlex
1414
import os
1515
import json
16-
import ijson
1716

1817
from util.subprocc import SubProcController
1918
from util.logutil import LogPrinter
@@ -286,6 +285,8 @@ def _large_json_handle(self, error_output, rules, issues):
286285
]
287286
:return:
288287
"""
288+
import ijson
289+
289290
f = open(error_output, "r")
290291
parser = ijson.parse(f)
291292
is_in_issue = False

0 commit comments

Comments
 (0)