summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-24 16:09:25 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-24 16:09:25 +0200
commit2aa63ae3d23765377f4a89ace77a153e77fe00c3 (patch)
tree301cc3da211dea407b40d026b4271e7d43138328 /src
parent3be3bd7d3947c39b497216c14d8d3350ab920bec (diff)
encoding bug
Diffstat (limited to 'src')
-rw-r--r--src/meetingtools/apps/auth/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py
index ddc2c8f..a412ed5 100644
--- a/src/meetingtools/apps/auth/views.py
+++ b/src/meetingtools/apps/auth/views.py
@@ -27,7 +27,7 @@ def meta(request,attr):
def meta1(request,attr):
v = meta(request,attr)
if v:
- return unicode(v[0])
+ return str(v[0]).decode('utf-8')
else:
return None