From 476fa9f0a37596d537aef212a428f461f52816c8 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 15 Nov 2021 11:36:03 +0000 Subject: [PATCH] space --- pandora/app/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/app/views.py b/pandora/app/views.py index 60a173e2..94e1c08c 100644 --- a/pandora/app/views.py +++ b/pandora/app/views.py @@ -59,11 +59,11 @@ def redirect_url(request, url): if settings.CONFIG['site'].get('sendReferrer', False): return redirect(url) else: - return HttpResponse(''%json.dumps(url)) + return HttpResponse('' % json.dumps(url)) def opensearch_xml(request): osd = ET.Element('OpenSearchDescription') - osd.attrib['xmlns']="http://a9.com/-/spec/opensearch/1.1/" + osd.attrib['xmlns'] = "http://a9.com/-/spec/opensearch/1.1/" e = ET.SubElement(osd, 'ShortName') e.text = settings.SITENAME e = ET.SubElement(osd, 'Description')