Skip to content

Commit

Permalink
Merge pull request #47 from anthonyprintup/fix_46_get_algorithms
Browse files Browse the repository at this point in the history
Fix #46
  • Loading branch information
herrcore authored Dec 12, 2022
2 parents 97f51ef + 7f7b0ac commit 5dfb2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hashdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,7 @@ def hunt_algorithm_request(hash_value: int, timeout=None) -> Union[None, list]:
algorithms = None
try:
# Send the hunt request
algorithms = get_algorithms(timeout=timeout)
algorithms = get_algorithms(api_url=HASHDB_API_URL, timeout=timeout)
except (requests.exceptions.Timeout, requests.exceptions.ReadTimeout):
idaapi.msg("ERROR: HashDB API algorithms request timed out.\n")
logging.exception("API request to {} timed out.".format(HASHDB_API_URL))
Expand Down

0 comments on commit 5dfb2b7

Please sign in to comment.