diff --git a/validator/check_dataset.py b/validator/check_dataset.py index f7ce211..e5356c3 100644 --- a/validator/check_dataset.py +++ b/validator/check_dataset.py @@ -112,7 +112,7 @@ def __str__(self) -> str: message = self.message.removeprefix("Value error, ") if self.location: - location = str(self.location).strip("(,)") + location = str(self.location).strip(",()") return f"Location: {location}, error: {message.lower()}" return message