From c0f31e2230a6bcc59df289e47829e837d9a90c61 Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Wed, 3 Nov 2021 13:54:40 -0400 Subject: [PATCH] typo --- seafile-ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile-ldap.py b/seafile-ldap.py index 2fa1b09..e9a9955 100644 --- a/seafile-ldap.py +++ b/seafile-ldap.py @@ -221,7 +221,7 @@ for ldapUser in ldapUsers: # Loop through the sql ldap users and disable those not in the ldap list for seafileLDAPUser in seafileLDAPUsers: - if -not seafileLDAPUser['is_active']: + if not seafileLDAPUser['is_active']: logger.debug("User {0} is already disabled in Seafile".format(seafileLDAPUser['email'])) continue logger.debug("Searching for user {0} that has an email address, are enabled, and in the {1} group.".format(seafileLDAPUser['email'], ldapFilter))