diff --git a/pandora/app/views.py b/pandora/app/views.py index 9fbff09c9..a63ccfb6d 100644 --- a/pandora/app/views.py +++ b/pandora/app/views.py @@ -83,7 +83,7 @@ def opensearch_xml(request): e.attrib['template'] = "%s?q={searchTerms}" % request.build_absolute_uri('/opensearch_suggest') ''' return HttpResponse( - '\n' + ET.tostring(osd), + '\n' + ET.tostring(osd).decode(), 'application/xml' )