From: Michael Tremer Date: Wed, 10 Oct 2018 11:20:55 +0000 (+0100) Subject: ldap: Decode anything coming from server X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=436c9058115fec2fee612509a882fbe9c5028bfa;p=ipfire.org.git ldap: Decode anything coming from server Signed-off-by: Michael Tremer --- diff --git a/src/backend/accounts.py b/src/backend/accounts.py index 432276f4..26210053 100644 --- a/src/backend/accounts.py +++ b/src/backend/accounts.py @@ -161,7 +161,7 @@ class Account(Object): res = self.attributes.get(attr, []) if res: - return res[0] + return res[0].decode() def get(self, key): try: