summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/sim_pipeline.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/sim_pipeline.py
parent62fde540ef9c38d403ea89a6fb1db51bfba23da8 (diff)
downloadfatcat-scholar-5ef9d9c429d8215e2f29f5cd8edfceab0b9fb648.tar.gz
fatcat-scholar-5ef9d9c429d8215e2f29f5cd8edfceab0b9fb648.zip
more flake8
Diffstat (limited to 'fatcat_scholar/sim_pipeline.py')
-rw-r--r--fatcat_scholar/sim_pipeline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/sim_pipeline.py b/fatcat_scholar/sim_pipeline.py
index cfc197f..3541bdc 100644
--- a/fatcat_scholar/sim_pipeline.py
+++ b/fatcat_scholar/sim_pipeline.py
@@ -85,7 +85,7 @@ class SimPipeline:
# override 'close()' method so we can still read out contents
djvu_bytes = io.BytesIO()
djvu_bytes.close = lambda: None # type: ignore
- assert issue_item_djvu.download(fileobj=djvu_bytes) == True
+ assert issue_item_djvu.download(fileobj=djvu_bytes)
djvu_bytes.seek(0)
djvu_xml = io.StringIO(djvu_bytes.read().decode("UTF-8"))
del djvu_bytes