Skip to content

Commit

Permalink
Update linkchecker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico authored Jul 16, 2024
1 parent 0db3fcd commit eabd5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redturtle/volto/linkchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,6 @@ def _check_external_link(self, link, ttl=3600 * 6, timeout=1.0):
res = requests.get(link, headers=headers, timeout=timeout)
status = res.status_code
except requests.exceptions.RequestException:
status = 404 # ???
status = 999 # ???
self._external_links_status[link] = (datetime.now(), status)
return status

0 comments on commit eabd5b4

Please sign in to comment.