Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
junhoyeo committed Oct 29, 2023
1 parent 1b6aada commit 8656c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion betterocr/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def extract_list(s):
for item in list_obj:
if "box" in item and "text" in item:
return list_obj
except json.decoder.JSONDecodeError as e:
except json.decoder.JSONDecodeError:
# Reset the stack and start position as this isn't a valid JSON
stack = []
start_position = None
Expand Down

0 comments on commit 8656c78

Please sign in to comment.