From 0e33aed20f824b5b37f53fd52d885997c8b074db Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 7 Mar 2019 18:58:02 -0300 Subject: [PATCH] HOT-FIX: remove suffix from base URL --- sapl/lexml/OAIServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/lexml/OAIServer.py b/sapl/lexml/OAIServer.py index f4b37ea1a..ad4264dc5 100644 --- a/sapl/lexml/OAIServer.py +++ b/sapl/lexml/OAIServer.py @@ -275,7 +275,7 @@ def get_config(url, batch_size): 'metadata_prefixes': ['oai_lexml'], 'titulo': casa_legislativa().nome, # Inicializa variável global casa 'email': [casa.email], # lista de e-mails, antigo `def get_email()` - 'base_url': url[:url.find('/', 8)] + reverse('sapl.lexml:lexml_endpoint'), + 'base_url': url[:url.find('/', 8)], 'descricao': get_xml_provedor(), 'batch_size': batch_size }