grammar check

This commit is contained in:
2022-05-23 19:32:53 -04:00
parent cca9c7c78f
commit 0bc7e3cfeb

View File

@@ -115,7 +115,7 @@ for seafileUser in seafileUsers:
if seafileUser['email'] == adminEmail:
continue
else:
logger.debug("Found user {0} with active status {1} is seafile".format(seafileUser['email'], bool(seafileUser['is_active'])))
logger.debug("Found user {0} with active status {1} in seafile".format(seafileUser['email'], bool(seafileUser['is_active'])))
logger.debug("Checking if {0} user has an email, is active, and is in the seafile group".format(seafileUser['email']))
ldap.search(ldapBase, '(&(mail={0})(!(userAccountControl:1.2.840.113556.1.4.803:=2))({1}))'.format(seafileUser['email'], ldapFilter), attributes=['*'])
count = len(ldap.entries)