Skip to content

Commit

Permalink
fix(scraper): type before -> not_before.
Browse files Browse the repository at this point in the history
  • Loading branch information
2e0byo committed Mar 18, 2022
1 parent 75de4ea commit 2850ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yadc/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2850ecb

Please sign in to comment.