Merge pull request #116 from stweil/master

Fix typo
pull/113/head
Mike Gerber 4 months ago committed by GitHub
commit 521f034fba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -149,7 +149,7 @@ class ExtractedText:
raise ValueError("Can't have joiner without segments to join")
if self.segments is not None:
if value not in ("", " ", "\n"):
raise ValueError(f"Unexcepted segment joiner value {repr(value)}")
raise ValueError(f"Unexpected segment joiner value {repr(value)}")
@_text.validator
def is_valid_text(self, _, value):

Loading…
Cancel
Save