Skip to content

Commit

Permalink
Propagate logger to super.__init__()
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjalf2 authored Aug 1, 2019
1 parent 6252c44 commit c462398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion katnip/targets/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c462398

Please sign in to comment.