Skip to content

Commit

Permalink
Format strip call
Browse files Browse the repository at this point in the history
  • Loading branch information
danylo-boiko committed Dec 9, 2024
1 parent 0774dec commit 46cae54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/check_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46cae54

Please sign in to comment.