X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fe177037495a25bc50ec13b7817545cf869853f7..378665e6e0ee8595e3c97096331bab365845cd9e:/apps/oai/views.py?ds=inline diff --git a/apps/oai/views.py b/apps/oai/views.py index 292fbc9a5..eb90035de 100644 --- a/apps/oai/views.py +++ b/apps/oai/views.py @@ -9,10 +9,9 @@ metadata_registry = MetadataRegistry() metadata_registry.registerWriter('oai_dc', oai_dc_writer) ns_map = {'oai_dc': NS_OAIDC, 'dc': NS_DC, 'xsi': NS_XSI} -server = ServerBase(Catalogue(), metadata_registry, ns_map) +server = ServerBase(Catalogue(metadata_registry), metadata_registry, ns_map) def oaipmh(request): - print request.GET resp = server.handleRequest(request.GET) return HttpResponse(resp)