From c46239856a4897ae18a44bf16d81046b082c2960 Mon Sep 17 00:00:00 2001 From: Lasse Date: Thu, 1 Aug 2019 15:01:58 +0200 Subject: [PATCH] Propagate logger to super.__init__() Fixes #34 --- katnip/targets/ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/katnip/targets/ssl.py b/katnip/targets/ssl.py index 7d28de605..997d01572 100644 --- a/katnip/targets/ssl.py +++ b/katnip/targets/ssl.py @@ -34,7 +34,7 @@ def __init__(self, name, host, port, timeout=None, logger=None): :param timeout: socket timeout (default: None) :param logger: logger for the object (default: None) ''' - super(SslTarget, self).__init__(name, host, port, timeout, logger=None) + super(SslTarget, self).__init__(name, host, port, timeout, logger=logger) def _get_socket(self): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)