mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
strip the special collection name
This commit is contained in:
parent
f72286d44a
commit
ff2b08f21e
@ -139,9 +139,9 @@ class CollectionsBookList(BookList):
|
|||||||
ca = []
|
ca = []
|
||||||
for c in collection_attributes:
|
for c in collection_attributes:
|
||||||
if c.startswith('aba:') and c[4:]:
|
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:]:
|
elif c.startswith('abt:') and c[4:]:
|
||||||
all_by_title = c[4:]
|
all_by_title = c[4:].strip()
|
||||||
else:
|
else:
|
||||||
ca.append(c.lower())
|
ca.append(c.lower())
|
||||||
collection_attributes = ca
|
collection_attributes = ca
|
||||||
|
Loading…
x
Reference in New Issue
Block a user