diff --git a/pepdbagent/models.py b/pepdbagent/models.py index ec96fa6..24c225e 100644 --- a/pepdbagent/models.py +++ b/pepdbagent/models.py @@ -113,7 +113,7 @@ def value_must_be_lowercase(cls, v): @validator("tag", "name") def value_should_not_contain_question(cls, v): if "?" in v: - return ValueError("Question mark is prohibited in name and tag") + return ValueError("Question mark (?) is prohibited in name and tag.") return v class Config: