From 22bf97dc922b60b574443b693477d1e7c4be8993 Mon Sep 17 00:00:00 2001 From: Empiriker Date: Tue, 31 Oct 2023 10:41:25 +0200 Subject: [PATCH] Update output path to use src/ folder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tools/get_namespaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/get_namespaces.py b/tools/get_namespaces.py index 737fe87d..721abe77 100644 --- a/tools/get_namespaces.py +++ b/tools/get_namespaces.py @@ -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(