Delete version in arxiv_id when updating, to get the correct result

This commit is contained in:
Phyks 2014-05-07 22:38:25 +02:00
parent 453a30f4ca
commit 915e9de9ad

View File

@ -263,7 +263,9 @@ def updateArXiv(entry):
return False return False
arxiv_id = bibtex['Eprint'] arxiv_id = bibtex['Eprint']
last_bibtex = BibTexParser(fetcher.arXiv2Bib(arxiv_id), last_bibtex = BibTexParser(fetcher.arXiv2Bib(re.sub(r'v\d+\Z',
'',
arxiv_id)),
customization=homogeneize_latex_encoding) customization=homogeneize_latex_encoding)
last_bibtex = last_bibtex.get_entry_dict() last_bibtex = last_bibtex.get_entry_dict()