Skip to content

Commit

Permalink
Update output path to use src/ folder
Browse files Browse the repository at this point in the history
This work is a contribution to the EWOK project, which receives funding from LABEX ASLAN (ANR–10–LABX–0081) at the Université de Lyon, as part of the "Investissements d'Avenir" program initiated and overseen by the Agence Nationale de la Recherche (ANR) in France.
  • Loading branch information
empiriker committed Oct 31, 2023
1 parent 2521651 commit 22bf97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/get_namespaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def main():
if ns_data["id"] == data["id"] and data["alias"] != ns_data["name"]:
ns_data["aliases"].append(data["alias"])

data_folder = Path(f"wikitextprocessor/data/{args.lang_code}")
data_folder = Path(f"src/wikitextprocessor/data/{args.lang_code}")
if not data_folder.exists():
data_folder.mkdir()
with data_folder.joinpath("namespaces.json").open(
Expand Down

0 comments on commit 22bf97d

Please sign in to comment.