diff --git a/seafile-ldap.py b/seafile-ldap.py index 4894424..37946c8 100644 --- a/seafile-ldap.py +++ b/seafile-ldap.py @@ -256,7 +256,7 @@ for ldapGroup in ldapGroups: if count == 1 and [item for item in seafileGroupMembers if ldap.entries.mail in item ]: continue else: - print("User {0} is not in Seafile Group {1}".format(ldap.entries[0].mail, ldapGroup.name)) + print("User {0} is not in Seafile Group {1}".format(ldap.entries, ldapGroup.name)) else: continue