Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet committed Sep 26, 2024
1 parent 86582e1 commit 95b4001
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions artemis/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def lookup(domain: str, query_type: str = "A") -> Set[str]:
:raise ResolutionException if something fails
"""
try:
domain = domain.lower()
return retry(_single_resolution_attempt, (domain, query_type), {}) # type: ignore
except NoAnswer:
return set()

0 comments on commit 95b4001

Please sign in to comment.