immuniweb / iwtools

ImmuniWeb® Community Edition CLI for CI/CD
Other
31 stars 16 forks source link

cannot access local variable 'response' where it is not associated with a value #14

Open robocop-bob opened 9 months ago

robocop-bob commented 9 months ago

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