Skip to content

Commit

Permalink
fix(base_parser): validators.url no longer has a public=True kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkiegeek committed Oct 23, 2023
1 parent 3f79a48 commit 576b689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canonicalwebteam/discourse/parsers/base_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _parse_redirect_map(self, index_soup):

if not (
location.startswith(self.url_prefix)
or validators.url(location, public=True)
or validators.url(location)
):
warnings.append(
f"Redirect map location {location} is invalid"
Expand Down

0 comments on commit 576b689

Please sign in to comment.