Skip to content

Commit c3504c2

Browse files
committed
chore: Compatible with python 3.7
1 parent 5e1b5ef commit c3504c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: python/rapidocr_onnxruntime/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def _get_origin_points(
238238
raw_w: int,
239239
) -> np.ndarray:
240240
dt_boxes_array = np.array(dt_boxes)
241-
for op in list(reversed(op_record.keys())):
241+
for op in reversed(list(op_record.keys())):
242242
v = op_record[op]
243243
if "padding" in op:
244244
top, left = v.get("top"), v.get("left")

0 commit comments

Comments
 (0)