Skip to content

Commit

Permalink
CR3
Browse files Browse the repository at this point in the history
  • Loading branch information
thorbjoernl committed Aug 15, 2024
1 parent 6195d2b commit 780bf87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aerovaldb/utils/string_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ def validate_filename_component(value: str) -> None:
if not isinstance(value, str):
raise ValueError(f"Expected str, got {type(value)}")

if not re.match(PATH_COMPONENT_PATTERN, value):
if not PATH_COMPONENT_PATTERN.match(value):
raise ValueError(f"'{value}' is not a valid file name component.")

0 comments on commit 780bf87

Please sign in to comment.