Skip to content

Commit 5dfb2b7

Browse files
authored
Merge pull request #47 from anthonyprintup/fix_46_get_algorithms
Fix #46
2 parents 97f51ef + 7f7b0ac commit 5dfb2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hashdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@ def hunt_algorithm_request(hash_value: int, timeout=None) -> Union[None, list]:
17681768
algorithms = None
17691769
try:
17701770
# Send the hunt request
1771-
algorithms = get_algorithms(timeout=timeout)
1771+
algorithms = get_algorithms(api_url=HASHDB_API_URL, timeout=timeout)
17721772
except (requests.exceptions.Timeout, requests.exceptions.ReadTimeout):
17731773
idaapi.msg("ERROR: HashDB API algorithms request timed out.\n")
17741774
logging.exception("API request to {} timed out.".format(HASHDB_API_URL))

0 commit comments

Comments
 (0)