Skip to content

Commit

Permalink
s/sel.lines/self.lines
Browse files Browse the repository at this point in the history
Fixes #553
  • Loading branch information
mittagessen committed Nov 24, 2023
1 parent 74e23a3 commit 8ed41dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kraken/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def __post_init__(self):
self.lines = []
if len(self.lines) and not isinstance(self.lines[0], BBoxLine) and not isinstance(self.lines[0], BaselineLine):
line_cls = BBoxLine if self.type == 'bbox' else BaselineLine
sel.lines = [line_cls(**line) for line in self.lines]
self.lines = [line_cls(**line) for line in self.lines]
if len(self.regions) and not isinstance(next(iter(self.regions.values()))[0], Region):
regs = {}
for k, v in self.regions.items():
Expand Down

0 comments on commit 8ed41dc

Please sign in to comment.