From 277f12657c58bc2ba16287a7be6be42e232ee822 Mon Sep 17 00:00:00 2001 From: Taher Hosseini Date: Tue, 30 Jun 2020 09:48:27 +0200 Subject: [PATCH] Filtert mangelhafte Elemente aus --- park_api/cities/Bonn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/park_api/cities/Bonn.py b/park_api/cities/Bonn.py index c4bbff0..f603eda 100644 --- a/park_api/cities/Bonn.py +++ b/park_api/cities/Bonn.py @@ -46,7 +46,7 @@ def parse_html(html): "forecast": False }) - else: + elif h3[0].string: name = h3[0].string ltype = None if "Parkhaus" in name: