From 553c5e9d7c055dcf1c9368c76a02ce0408e77338 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Tue, 15 Mar 2022 23:33:44 +0100 Subject: [PATCH] Rename template sledrun_wiki to sledrun_wikitext. --- wrpylib/templates/{sledrun_wiki.txt => sledrun_wikitext.txt} | 0 wrpylib/wrmwmarkup.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename wrpylib/templates/{sledrun_wiki.txt => sledrun_wikitext.txt} (100%) diff --git a/wrpylib/templates/sledrun_wiki.txt b/wrpylib/templates/sledrun_wikitext.txt similarity index 100% rename from wrpylib/templates/sledrun_wiki.txt rename to wrpylib/templates/sledrun_wikitext.txt diff --git a/wrpylib/wrmwmarkup.py b/wrpylib/wrmwmarkup.py index 16893a2..8e843f9 100644 --- a/wrpylib/wrmwmarkup.py +++ b/wrpylib/wrmwmarkup.py @@ -394,7 +394,7 @@ def create_sledrun_wiki(sledrun_json: Dict, map_json: Optional[Dict], impression autoescape=jinja2.select_autoescape(), ) env.filters["german_bool"] = german_bool - template = env.get_template("sledrun_wiki.txt") + template = env.get_template("sledrun_wikitext.txt") def position_to_lon_lat(value: Optional[dict]) -> Optional[LonLat]: if value is not None: -- 2.39.5