Commit fa11553b authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Fix enum error message

parent 4ba699af
......@@ -2,6 +2,8 @@
## next
- Fix enum error message
## 0.7.0a5
- Update to frictionless 4.2.1
......
......@@ -77,7 +77,7 @@ def constraint_name_and_message(
md_str = "\n".join([f"- {val}" for val in enum_values])
return (
"Valeur incorrecte",
f"Les seules valeurs autorisées sont :\n{md_str}.",
f"Les seules valeurs autorisées sont :\n{md_str}",
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment