fix: [cleanup] Quick clean up on exception type

pull/222/head
chrisr3d 4 years ago
parent 63c3252062
commit 57af98720d
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
  1. 2
      misp_modules/modules/expansion/rbl.py

@ -6,7 +6,7 @@ try:
resolver = dns.resolver.Resolver()
resolver.timeout = 0.2
resolver.lifetime = 0.2
except:
except ModuleNotFoundError:
print("dnspython3 is missing, use 'pip install dnspython3' to install it.")
sys.exit(0)

Loading…
Cancel
Save