Quick fix to Issue #937 (#938)

* quick_fix

* bin_type edit removed
This commit is contained in:
dt215git
2023-05-02 19:16:13 +01:00
committed by GitHub
parent bc55f7a437
commit 8b68a2906a

View File

@@ -78,7 +78,7 @@ class Source:
bin_info = bin.text.split("-")
try:
# No date validation since year isn't included on webpage
bin_date = bin_info[0].strip()
bin_date = bin_info[0].strip().replace("Your usual collection day is different this week", "")
bin_type = bin_info[1].strip()
except Exception as ex:
raise ValueError(f"Error parsing bin data: {ex}")