diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/sunderland_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/sunderland_gov_uk.py index 4cc7424b9..72c3e616c 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/sunderland_gov_uk.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/sunderland_gov_uk.py @@ -28,7 +28,7 @@ def get_viewstate(self, content: str) -> dict: tags = {} soup = BeautifulSoup(content, "html.parser") hidden_tags = soup.findAll("input", type="hidden") - for _, tag in enumerate(hidden_tags): + for tag in hidden_tags: tags[tag.get("name")] = tag.get("value") return tags