We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05c6f76 commit c0dc9faCopy full SHA for c0dc9fa
pvoutput/base.py
@@ -64,7 +64,7 @@ def _validate_format(
64
"""handles the regular expression format checks"""
65
try:
66
compiled = re.compile(format_string)
67
- match = compiled.match(value)
+ match = compiled.match(str(value))
68
if match is None:
69
raise ValueError(f"key '{key}', with value '{value}' does not match '{format_string!r}'")
70
except re.error as error:
0 commit comments