Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegerber committed Jul 11, 2024
2 parents 2ee37ed + 521f034 commit 6048107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dinglehopper/extracted_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def is_valid_joiner(self, _, value):
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):
Expand Down

0 comments on commit 6048107

Please sign in to comment.