From 2aa63ae3d23765377f4a89ace77a153e77fe00c3 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 24 Aug 2011 16:09:25 +0200 Subject: encoding bug --- src/meetingtools/apps/auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/meetingtools') 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 -- cgit v1.1