Skip to content

Commit

Permalink
handle both cases where file name or link contains relevant search term
Browse files Browse the repository at this point in the history
  • Loading branch information
Marianne Hoogeveen committed Jan 29, 2025
1 parent 79ddfc3 commit 66a4cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pudl_archiver/archivers/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ async def get_hyperlinks(
hyperlinks = {
link: name
for link, name in hyperlinks.items()
if filter_pattern.search(name)
if filter_pattern.search(name) or filter_pattern.search(link)
}

# Warn if no links are found
Expand Down

0 comments on commit 66a4cdc

Please sign in to comment.