From 652d87b75d813742747425e2d33308bcdc4aa95d Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Sun, 22 May 2022 17:51:06 +0200 Subject: [PATCH] Add VVV has public transport option. --- bots/sledrun_wikitext_to_json.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bots/sledrun_wikitext_to_json.py b/bots/sledrun_wikitext_to_json.py index 92484fd..132dc26 100644 --- a/bots/sledrun_wikitext_to_json.py +++ b/bots/sledrun_wikitext_to_json.py @@ -266,13 +266,13 @@ class SledrunWikiTextToJsonBot( z = lonlat_ele_to_json(opt_lonlat_from_str(za), opt_uint_from_str(zb)) if len(z) > 0: ya['position'] = z - elif node.name in ["Fahrplan Abfahrtsmonitor VVT"]: + elif node.name in ["Fahrplan Abfahrtsmonitor VVT", "Fahrplan Abfahrtsmonitor VVV"]: ya['monitor_template'] = template_to_json(node) - elif node.name in ["Fahrplan Hinfahrt VVT"]: + elif node.name in ["Fahrplan Hinfahrt VVT", "Fahrplan Hinfahrt VVV"]: ya['route_arrival_template'] = template_to_json(node) - elif node.name in ["Fahrplan Rückfahrt VVT"]: + elif node.name in ["Fahrplan Rückfahrt VVT", "Fahrplan Rückfahrt VVV"]: ya['route_departure_template'] = template_to_json(node) - elif node.name in ["Fahrplan Linie VVT"]: + elif node.name in ["Fahrplan Linie VVT", "Fahrplan Linie VVV"]: if ya is not None: public_transport_stops.append(ya) ya = None -- 2.39.5