projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uploaded by works, and now you can view art on its own page.
[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)