Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 324fb3ba6cf3bd72692b07a3fcc4a4250d5102ce 1 parent 6241c5a
@novas0x2a novas0x2a authored progrium committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  utils.py
View
2  utils.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.