From 0fb579a58ca235fecbd39199f6f84b670532b3fa Mon Sep 17 00:00:00 2001 From: Phyks Date: Tue, 4 Nov 2014 21:46:47 +0100 Subject: [PATCH] Forgot to update function names in bmc.py --- bmc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bmc.py b/bmc.py index 91a1de5..732fc3b 100755 --- a/bmc.py +++ b/bmc.py @@ -102,7 +102,7 @@ def addFile(src, filetype, manual, autoconfirm, tag): if not manual: try: if filetype == 'article' or filetype is None: - id_type, article_id = fetcher.findID(src) + id_type, article_id = fetcher.findArticleID(src) if id_type == "DOI": doi = article_id elif id_type == "arXiv": @@ -340,7 +340,7 @@ def resync(): break else: if 'doi' in list(entry.keys()): - doi = fetcher.findID(filename, only=["DOI"]) + doi = fetcher.findArticleID(filename, only=["DOI"]) if doi is not False and doi != entry['doi']: loop = tools.rawInput("Found DOI does not " + "match bibtex entry " + @@ -348,7 +348,7 @@ def resync(): "? [y/N]") loop = (loop.lower() != 'y') if 'Eprint' in list(entry.keys()): - arxiv = fetcher.findID(filename, only=["arXiv"]) + arxiv = fetcher.findArticleID(filename, only=["arXiv"]) if arxiv is not False and arxiv != entry['Eprint']: loop = tools.rawInput("Found arXiv id does " + "not match bibtex " +