diff --git a/libbmc/fetcher.py b/libbmc/fetcher.py index cf11f7c..0fa8dce 100644 --- a/libbmc/fetcher.py +++ b/libbmc/fetcher.py @@ -173,7 +173,7 @@ def isbn2Bib(isbn): try: return isbnlib.registry.bibformatters['bibtex'](isbnlib.meta(isbn, 'default')) - except (isbnlib.ISBNLibException, isbnlib.ISBNToolsException, TypeError): + except (isbnlib.ISBNLibException, TypeError): return '' diff --git a/libbmc/tests/src/isbn.bib b/libbmc/tests/src/isbn.bib index 8a1f91e..59cc134 100644 --- a/libbmc/tests/src/isbn.bib +++ b/libbmc/tests/src/isbn.bib @@ -1,7 +1,7 @@ @book{9780198507192, title = {Bose-Einstein Condensation}, - author = {Lev. P. Pitaevskii and Sandro Stringari}, + author = {Lev. P. Pitaevskii and S. Stringari}, isbn = {9780198507192}, year = {2004}, publisher = {Clarendon Press} -} \ No newline at end of file +}