define logger before setting it

main
Marshall Hallenbeck 2023-04-14 11:55:06 -04:00
parent 763a4f72ed
commit cfbeeda0ba
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ ldap_error_status = {
class LDAPConnect: class LDAPConnect:
def __init__(self, host, port, hostname): def __init__(self, host, port, hostname):
self.logger = None
self.proto_logger(host, port, hostname) self.proto_logger(host, port, hostname)
def proto_logger(self, host, port, hostname): def proto_logger(self, host, port, hostname):