1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-24 02:14:20 +01:00

fix crash due to encoding in python 2

This commit is contained in:
kakwa 2019-02-12 23:27:30 +01:00
parent d831b09293
commit 882a303474

View File

@ -267,7 +267,7 @@ class Backend(ldapcherry.backend.Backend):
"with filter '%(filter)s' in DN '%(dn)s'" % { "with filter '%(filter)s' in DN '%(dn)s'" % {
'backend': self.backend_name, 'backend': self.backend_name,
'dn': basedn, 'dn': basedn,
'filter': searchfilter 'filter': self._uni(searchfilter)
} }
) )