remove obsolete exception catching
This commit is contained in:
parent
596ea81a34
commit
3e376e2d8b
@ -112,16 +112,11 @@ class EnDecoder(object):
|
||||
|
||||
def decode_bibdata(self, bibdata):
|
||||
""""""
|
||||
try:
|
||||
try:
|
||||
entries = bp.bparser.BibTexParser(
|
||||
bibdata, common_strings=True,
|
||||
customization=customizations,
|
||||
homogenize_fields=True).get_entry_dict()
|
||||
except TypeError:
|
||||
entries = bp.bparser.BibTexParser(
|
||||
bibdata, common_strings=True,
|
||||
customization=customizations).get_entry_dict()
|
||||
|
||||
# Remove id from bibtexparser attribute which is stored as citekey
|
||||
for e in entries:
|
||||
|
Loading…
x
Reference in New Issue
Block a user