From 5ef9d9c429d8215e2f29f5cd8edfceab0b9fb648 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 3 Jun 2020 23:18:19 -0700 Subject: more flake8 --- fatcat_scholar/djvu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fatcat_scholar/djvu.py') diff --git a/fatcat_scholar/djvu.py b/fatcat_scholar/djvu.py index c715608..3df61dd 100644 --- a/fatcat_scholar/djvu.py +++ b/fatcat_scholar/djvu.py @@ -29,7 +29,7 @@ def djvu_extract_leaf_texts( leaf_num = None try: leaf_num = int(usemap.replace(".djvu", "").split("_")[-1]) - except: + except Exception: continue if only_leaves is not None and leaf_num is not None: if leaf_num not in only_leaves: -- cgit v1.2.3