Browse Source

HOT-FIX: remove suffix from base URL

pull/2592/head
Edward Ribeiro 6 years ago
parent
commit
0e33aed20f
  1. 2
      sapl/lexml/OAIServer.py

2
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
}

Loading…
Cancel
Save