Skip to content

Commit

Permalink
Remove mid process language capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Oct 23, 2024
1 parent 5710a70 commit bbf11fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/scribe_data/cli/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ def list_data_types(language: str = None) -> None:
else:
data_types = set()
for lang in languages:
language_dir = (
LANGUAGE_DATA_EXTRACTION_DIR
/ format_sublanguage_name(lang, language_metadata).capitalize()
language_dir = LANGUAGE_DATA_EXTRACTION_DIR / format_sublanguage_name(
lang, language_metadata
)
if language_dir.is_dir():
data_types.update(f.name for f in language_dir.iterdir() if f.is_dir())
Expand Down

0 comments on commit bbf11fb

Please sign in to comment.