Skip to content

Commit

Permalink
f! schema
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed May 25, 2024
1 parent 17debb2 commit 21128e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t3/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def check_shared_library_name(cls, value):
"""T3Options.shared_library_name validator"""
if value is not None:
for char in value:
if char not in VALID_CHARS:
if char not in VALID_CHARS + '/':
raise ValueError(f'The shared library name "{value}" contains an invalid character: {char}.\n'
f'Only the following characters are allowed:\n{VALID_CHARS}')
return value
Expand All @@ -89,7 +89,7 @@ def check_external_library_path(cls, value):
"""T3Options.external_library_path validator"""
if value is not None:
for char in value:
if char not in VALID_CHARS:
if char not in VALID_CHARS + '/':
raise ValueError(f'The external library path "{value}" contains an invalid character: {char}.\n'
f'Only the following characters are allowed:\n{VALID_CHARS}')
return value
Expand Down

0 comments on commit 21128e3

Please sign in to comment.