mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-04 01:25:02 +01:00
Merge from trunk
This commit is contained in:
parent
9defefd7b2
commit
0a2f80fdbf
3 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ def fget(self):
|
|||
return property(doc=doc, fget=fget)
|
||||
|
||||
@dynamic_property
|
||||
def thumbnail(self):
|
||||
def thumbnail(self):'
|
||||
return None
|
||||
|
||||
class BookList(_BookList):
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@
|
|||
frozenset(['title', 'title_sort', 'authors',
|
||||
'author_sort', 'author_sort_map' 'comments',
|
||||
'cover_data', 'tags', 'language', 'lpath',
|
||||
'size'])
|
||||
'size', 'thumbnail'])
|
||||
|
||||
SERIALIZABLE_FIELDS = SOCIAL_METADATA_FIELDS.union(
|
||||
USER_METADATA_FIELDS).union(
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ def copy_not_none(dest, src, attr):
|
|||
lotags = [t.lower() for t in other.tags]
|
||||
lstags = [t.lower() for t in self.tags]
|
||||
ot, st = map(frozenset, (lotags, lstags))
|
||||
for t in st.interection(ot):
|
||||
for t in st.intersection(ot):
|
||||
sidx = lstags.index(t)
|
||||
oidx = lotags.index(t)
|
||||
self.tags[sidx] = other.tags[oidx]
|
||||
|
|
|
|||
Loading…
Reference in a new issue