Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit committed Apr 1, 2024
1 parent 2bfd6ae commit e1ff24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_dnssec.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def testdns(key, datatype, use_dnssec):
print('\ttestdns', key, datatype, use_dnssec)
cache_key = 'dnslookup://{0}#{1}#{2}'.format(key, datatype, use_dnssec)
if has_cache_file(cache_key, True, CACHE_TIME_DELTA):
cache_path = get_cache_path(cache_key, True)
cache_path = get_cache_path_for_file(cache_key, True)
print('\t- Using dnslookup cache')
response = dns.message.from_file(cache_path)
print('\t- response:\n\t\t{0}'.format(response.to_text().replace('\n', '\n\t\t')))
Expand Down

0 comments on commit e1ff24a

Please sign in to comment.