diff options
Diffstat (limited to 'fatcat_scholar/djvu.py')
-rw-r--r-- | fatcat_scholar/djvu.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |