From 9d7fa3ea6832969d390b37a0b0e475b98e8b1616 Mon Sep 17 00:00:00 2001 From: NewAgeAirbender <34139325+NewAgeAirbender@users.noreply.github.com> Date: Fri, 28 Jun 2024 10:47:53 -0500 Subject: [PATCH] DE: check for long string instead of date on eff_date --- scrapers/de/bills.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapers/de/bills.py b/scrapers/de/bills.py index c2270faeac..bd5d9b3b69 100644 --- a/scrapers/de/bills.py +++ b/scrapers/de/bills.py @@ -219,7 +219,7 @@ def scrape_bill(self, row, session): else: code_url = None - if "N/A" in eff_date or eff_date == "": + if "N/A" in eff_date or eff_date == "" or len(eff_date) > 9: eff_date = None if "N/A" in exp_date or exp_date == "":