1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-22 09:24:21 +01:00
This commit is contained in:
kakwa 2019-02-08 20:38:03 +01:00
parent 18fdeb483e
commit 42759f1cc4

View File

@ -323,6 +323,7 @@ class Backend(ldapcherry.backend.Backend):
if s is None: if s is None:
return None return None
return s.encode('utf-8') return s.encode('utf-8')
def _uni(self, s): def _uni(self, s):
"""bytes -> unicode conversion""" """bytes -> unicode conversion"""
if s is None: if s is None: