Delete version in arxiv_id when updating, to get the correct result
This commit is contained in:
parent
453a30f4ca
commit
915e9de9ad
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user