Skip to content

Commit

Permalink
Set default language to "all" for translations in get_data function
Browse files Browse the repository at this point in the history
  • Loading branch information
axif0 committed Dec 29, 2024
1 parent 9843c34 commit 155647b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scribe_data/cli/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ def prompt_user_download_all():
# MARK: Translations

elif data_type == "translations":
if language is None:
language = "all"
parse_wd_lexeme_dump(
language=language,
wikidata_dump_type=["translations"],
Expand Down

0 comments on commit 155647b

Please sign in to comment.