mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-08 03:10:30 +02:00
commit
521f034fba
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class ExtractedText:
|
||||||
raise ValueError("Can't have joiner without segments to join")
|
raise ValueError("Can't have joiner without segments to join")
|
||||||
if self.segments is not None:
|
if self.segments is not None:
|
||||||
if value not in ("", " ", "\n"):
|
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
|
@_text.validator
|
||||||
def is_valid_text(self, _, value):
|
def is_valid_text(self, _, value):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue