Skip to content

Commit

Permalink
re-apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
adbar committed Aug 21, 2023
1 parent 0e2b272 commit ff39a78
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions htmldate/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,7 @@ def search_page(
# todo: find all candidates and disambiguate?
if date_validator(
dateobject, outputformat, earliest=min_date, latest=max_date
) is True and (
copyear == 0 or dateobject.year >= copyear
):
) is True and (copyear == 0 or dateobject.year >= copyear):
try:
LOGGER.debug("regex result on HTML: %s", dateobject)
return dateobject.strftime(outputformat)
Expand Down

0 comments on commit ff39a78

Please sign in to comment.