1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-07-01 14:40:00 +02:00
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2024-05-26 09:18:00 +02:00
parent bc5818da9f
commit cd68a973cb

View file

@ -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):