Name is displayed properly in comments
This commit is contained in:
parent
95ba5d71b8
commit
586b1c2c42
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user