diff --git a/dnsdumpster/DNSDumpsterAPI.py b/dnsdumpster/DNSDumpsterAPI.py index 7f32f0c..b4dc15e 100644 --- a/dnsdumpster/DNSDumpsterAPI.py +++ b/dnsdumpster/DNSDumpsterAPI.py @@ -21,6 +21,8 @@ def __init__(self, verbose=False, session=None): self.verbose = verbose if not session: self.session = requests.Session() + else: + self.session = session def display_message(self, s): if self.verbose: