mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:04:42 +02:00
strip the special collection name
This commit is contained in:
parent
f72286d44a
commit
ff2b08f21e
1 changed files with 2 additions and 2 deletions
|
|
@ -139,9 +139,9 @@ def get_collections(self, collection_attributes):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue