summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms/elasticsearch.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-12-16 14:39:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-12-16 14:39:57 -0800
commit0174f7976e4cf5f288539e8a82ba07cc8f45f5c8 (patch)
tree16c3a6f587bc159da370bf7531c62d02f755348c /python/fatcat_tools/transforms/elasticsearch.py
parent486bbd7ea65fa50b3a839e5d371f04b8655a00c8 (diff)
downloadfatcat-0174f7976e4cf5f288539e8a82ba07cc8f45f5c8.tar.gz
fatcat-0174f7976e4cf5f288539e8a82ba07cc8f45f5c8.zip
fix indentation
Diffstat (limited to 'python/fatcat_tools/transforms/elasticsearch.py')
-rw-r--r--python/fatcat_tools/transforms/elasticsearch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py
index e23495ea..ad4b7722 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -329,8 +329,8 @@ def _rte_content_helper(release: ReleaseEntity) -> dict:
if release_url.rel in ('webarchive', 'repository', 'repo'):
good_pdf_url = release_url.url
if '//web.archive.org/' in release_url.url or '//archive.org/' in release_url.url:
- best_pdf_url = release_url.url
- ia_pdf_url = release_url.url
+ best_pdf_url = release_url.url
+ ia_pdf_url = release_url.url
# here is where we bake-in PDF url priority; IA-specific
t['best_pdf_url'] = best_pdf_url or good_pdf_url or any_pdf_url