From 586b1c2c4256fd7ba6f980a183db3d75001127ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sat, 26 Mar 2016 08:49:22 -0600 Subject: [PATCH] Name is displayed properly in comments --- src/controller/posts.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controller/posts.py b/src/controller/posts.py index d497cef..267b781 100644 --- a/src/controller/posts.py +++ b/src/controller/posts.py @@ -17,9 +17,8 @@ from wxUI import menus def get_user(id, profiles): for i in profiles: - print i.keys() if i["id"] == id: - return "{0} {0}".format(i["first_name"], i["last_name"]) + return "{0} {1}".format(i["first_name"], i["last_name"]) return "Unknown username" class postController(object):