aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-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 ad4b7722..db860a09 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -217,8 +217,8 @@ def release_to_elasticsearch(entity: ReleaseEntity, force_bool: bool = True) ->
t[k] = bool(t[k])
t['in_ia'] = bool(t['in_ia'])
- t['is_preserved'] = (
- bool(t['is_preserved'])
+ t['is_preserved'] = bool(
+ t['is_preserved']
or t['in_ia']
or t['in_kbart']
or t['in_jstor']