Skip to content

Commit 086f29d

Browse files
authored
Merge pull request #1481 from fuzzysb/Fix-Royal-Borough-of-Kingston-upon-Thames
fix: removed In Progress from date
2 parents 67773ab + 6637847 commit 086f29d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uk_bin_collection/uk_bin_collection/councils/KingstonUponThamesCouncil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def parse_data(self, page: str, **kwargs) -> dict:
5151
if row.find("dt").get_text().strip().lower() == "next collection":
5252
collection_date = remove_ordinal_indicator_from_date_string(
5353
row.find("dd").get_text()
54-
).strip()
54+
).strip().replace(" (In progress)", "")
5555
# strip out any text inside of the date string
5656
collection_date = re.sub(
5757
r"\n\s*\(this.*?\)", "", collection_date

0 commit comments

Comments
 (0)