iwtools
iwtools copied to clipboard
cannot access local variable 'response' where it is not associated with a value
Running iwtools.py --api-keyfile ./keys/immuniweb darkweb --format raw_json goodDNS..com, where "goodDNS..com" is a valid dns name returns
{"error": "cannot access local variable 'response' where it is not associated with a value"}.
Running the same command again returns the correct data.
Env: macOs 14.3.1, Python 3.11.7, iwtools.py up to date 12.02.2024