Skip to content

Commit

Permalink
fix: Update CheshireEastCouncil.py
Browse files Browse the repository at this point in the history
  • Loading branch information
robbrad authored Jan 28, 2025
1 parent c0af0d5 commit c76042a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def parse_data(self, page: Any, **kwargs: Any) -> Dict[str, Any]:
table: Optional[Tag | NavigableString] = soup.find(
"table", {"class": "job-details"}
)

if isinstance(table, Tag): # Ensure we only proceed if 'table' is a Tag
rows = table.find_all("tr", {"class": "data-row"})

Expand Down

0 comments on commit c76042a

Please sign in to comment.