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
1 changed files with 3 additions and 1 deletions

View File

@ -263,7 +263,9 @@ def updateArXiv(entry):
return False
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)
last_bibtex = last_bibtex.get_entry_dict()