Skip to content

Commit

Permalink
Update node_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 authored Dec 30, 2023
1 parent 492e92d commit 03a99a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hocr_tools_lib/utils/node_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_prop(node: HtmlElement, name: str, strip_value: bool = False) -> str | N
if strip_value:
args = args.strip('"')
if key == name:
return cast(str, args)
return args
return None


Expand Down

0 comments on commit 03a99a7

Please sign in to comment.