aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/djvu.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-03 23:18:19 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-03 23:18:19 -0700
commit5ef9d9c429d8215e2f29f5cd8edfceab0b9fb648 (patch)
tree5812e8d70ab86422db82e02351c56fcc8dfaae96 /fatcat_scholar/djvu.py
parent62fde540ef9c38d403ea89a6fb1db51bfba23da8 (diff)
downloadfatcat-scholar-5ef9d9c429d8215e2f29f5cd8edfceab0b9fb648.tar.gz
fatcat-scholar-5ef9d9c429d8215e2f29f5cd8edfceab0b9fb648.zip
more flake8
Diffstat (limited to 'fatcat_scholar/djvu.py')
-rw-r--r--fatcat_scholar/djvu.py2
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: