Permalink
Browse files

Capitalize first/middle/last name, not just first.

  • Loading branch information...
1 parent 6241c5a commit 324fb3ba6cf3bd72692b07a3fcc4a4250d5102ce @novas0x2a novas0x2a committed with progrium May 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils.py
View
@@ -22,7 +22,7 @@ def username(user):
def human_username(user):
if user:
nick = user.nickname().split('@')[0]
- return nick.replace('.', ' ').capitalize()
+ return nick.replace('.', ' ').title()
else:
return None

0 comments on commit 324fb3b

Please sign in to comment.