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
1 changed files with 1 additions and 1 deletions

View File

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