From b82b51f358734542249afebb8c25a672b91d4d3e Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 31 Oct 2016 22:19:00 -0400 Subject: [PATCH] forgot to re-enable error catching --- core/loaders/doab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/loaders/doab.py b/core/loaders/doab.py index 8d28f500..59832ea3 100644 --- a/core/loaders/doab.py +++ b/core/loaders/doab.py @@ -256,9 +256,9 @@ def load_doab_records(fname, limit=None): for (i, book) in enumerate(islice(records,limit)): d = dict(book) - ebook = load_doab_edition(**dict(book)) - success_count += 1 try: + ebook = load_doab_edition(**dict(book)) + success_count += 1 if ebook: ebook_count +=1 except Exception, e: