aboutsummaryrefslogtreecommitdiff
path: root/lesana/collection.py
diff options
context:
space:
mode:
Diffstat (limited to 'lesana/collection.py')
-rw-r--r--lesana/collection.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lesana/collection.py b/lesana/collection.py
index 0280f85..6c86436 100644
--- a/lesana/collection.py
+++ b/lesana/collection.py
@@ -179,6 +179,8 @@ class Collection(object):
values = entry.data.get(field['name'])
else:
values = [entry.data.get(field['name'])]
+ if not values:
+ values = []
for v in values:
try:
self.indexer.index_text(v)