Name is displayed properly in comments

This commit is contained in:
Manuel Cortez 2016-03-26 08:49:22 -06:00
parent 95ba5d71b8
commit 586b1c2c42

View File

@ -17,9 +17,8 @@ from wxUI import menus
def get_user(id, profiles): def get_user(id, profiles):
for i in profiles: for i in profiles:
print i.keys()
if i["id"] == id: 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" return "Unknown username"
class postController(object): class postController(object):