From ff2b08f21e4d22e05c557ac5c4904c12b7a4c353 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Wed, 22 Dec 2010 23:00:03 +0000 Subject: [PATCH] strip the special collection name --- src/calibre/devices/usbms/books.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/usbms/books.py b/src/calibre/devices/usbms/books.py index a9c980c31b..ba005c4e6d 100644 --- a/src/calibre/devices/usbms/books.py +++ b/src/calibre/devices/usbms/books.py @@ -139,9 +139,9 @@ class CollectionsBookList(BookList): ca = [] for c in collection_attributes: if c.startswith('aba:') and c[4:]: - all_by_author = c[4:] + all_by_author = c[4:].strip() elif c.startswith('abt:') and c[4:]: - all_by_title = c[4:] + all_by_title = c[4:].strip() else: ca.append(c.lower()) collection_attributes = ca