From 77ab90bd6abf3559f9e88bd989597d107f5c7963 Mon Sep 17 00:00:00 2001 From: Kload Date: Sat, 25 May 2013 14:52:10 +0000 Subject: [PATCH] Unicity fix --- yunohost_user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yunohost_user.py b/yunohost_user.py index 0eec8225..d1c474b1 100644 --- a/yunohost_user.py +++ b/yunohost_user.py @@ -300,8 +300,8 @@ def user_info(user_or_mail): raise YunoHostError(22, _("Unknown user/mail")) result_dict = { - 'Username': user['uid'], - 'Fullname': user['cn'], + 'Username': user['uid'][0], + 'Fullname': user['cn'][0], 'Mail': user['mail'][0] }