You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2024. It is now read-only.
Hola,
A la hora de parsear el PDF de un BORME con bormeparser.parse da un error en las provincias de:
ALICANTE/ALACANT
CASTELLON/CASTELLO
VALENCIA/VALENCIA
Lo curioso es que en el caso de ARABA/ÁLAVA no da error.
¿Puede ser por la cláusula definida el "provincia.py" para Araba pero no para el resto de provincias?
def from_title(title):
try:
if title == 'ARABA/ÁLAVA':
return PROVINCIA.ALAVA
title = remove_accents(title).replace(' ', '_')
return getattr(PROVINCIA, title)
except AttributeError:
raise ValueError('InvalidProvince: %s' % title)
Un saludo.
The text was updated successfully, but these errors were encountered: