Skip to content

Commit

Permalink
Fix region type variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanklut committed Feb 13, 2024
1 parent 4631108 commit 9f336dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions page_xml/pageXML_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ def region_type(self) -> Optional[str]:
if re_match is None:
self.logger.warning(f"No region type defined for {self.attrib["id"]}")
return None
e_type = re_match.group(1)
region_type = re_match.group(1)

return e_type
return region_type

@region_type.setter
def region_type(self, value: str):
Expand Down

0 comments on commit 9f336dd

Please sign in to comment.