diff --git a/yadc/scraper.py b/yadc/scraper.py index 4c5a473..8a4c71a 100644 --- a/yadc/scraper.py +++ b/yadc/scraper.py @@ -413,7 +413,7 @@ def _scan_for_test(self, browser: Chrome, driver: Driver, centre: Centre): continue not_before = centre.not_before or driver.not_before - if date < before: + if date < not_before: continue # prevent it finding a test before the current test if the current