aboutsummaryrefslogtreecommitdiffstats
path: root/python/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'python/scripts')
-rwxr-xr-xpython/scripts/cdx_collection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/scripts/cdx_collection.py b/python/scripts/cdx_collection.py
index 4539a49..e867b21 100755
--- a/python/scripts/cdx_collection.py
+++ b/python/scripts/cdx_collection.py
@@ -37,7 +37,7 @@ def run():
ia.search_items(
query="collection:{} mediatype:web".format(collection)))
- if len(item_list) is 0:
+ if len(item_list) == 0:
print("No items found, bailing")
sys.exit(-1)