projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delete tags by clicking the x, or typing in -tagtext
[zzz-floof.git]
/
floof
/
controllers
/
account.py
diff --git
a/floof/controllers/account.py
b/floof/controllers/account.py
index
1dab66d
..
6c36310
100644
(file)
--- a/
floof/controllers/account.py
+++ b/
floof/controllers/account.py
@@
-56,9
+56,9
@@
class AccountController(BaseController):
# Try to pull a name out of the SReg response
sreg_res = SRegResponse.fromSuccessResponse(res)
try:
# Try to pull a name out of the SReg response
sreg_res = SRegResponse.fromSuccessResponse(res)
try:
- username =
sreg_res['nickname']
+ username =
unicode(sreg_res['nickname'])
except:
except:
- username = 'Anonymous'
+ username =
u
'Anonymous'
# Create db records
user = User(name=username)
# Create db records
user = User(name=username)