diff options
-rw-r--r-- | src/carquinyol/indexstore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/carquinyol/indexstore.py b/src/carquinyol/indexstore.py index e4f2263..0f2b982 100644 --- a/src/carquinyol/indexstore.py +++ b/src/carquinyol/indexstore.py @@ -86,7 +86,7 @@ class IndexStore(object): document.add_value(_VALUE_UID, uid) document.add_value(_VALUE_TIMESTAMP, str(properties['timestamp'])) - document.add_value(_VALUE_TITLE, properties.get('title', '').trim()) + document.add_value(_VALUE_TITLE, properties.get('title', '').strip()) term_generator = xapian.TermGenerator() |