fix logger reference

main
Marshall Hallenbeck 2023-04-08 12:24:42 -04:00
parent 61f4e67f6b
commit 3f92c8bbe7
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class connection(object):
return True return True
elif self.plaintext_login(domain, username, password): return True elif self.plaintext_login(domain, username, password): return True
except IndexError: except IndexError:
self.log.error("Invalid database credential ID!") self.logger.error("Invalid database credential ID!")
if self.args.use_kcache: if self.args.use_kcache:
with sem: with sem:
username = self.args.username[0] if len(self.args.username) else '' username = self.args.username[0] if len(self.args.username) else ''