mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Ooops ...
This commit is contained in:
parent
9827755a9e
commit
f6de283e7b
@ -338,7 +338,7 @@ class CompositeField(OneToOneField):
|
||||
vals = self.get_value_with_cache(book_id, get_metadata)
|
||||
if splitter:
|
||||
length = len(list(vv.strip() for vv in vals.split(splitter) if vv.strip()))
|
||||
elif vals.strip:
|
||||
elif vals.strip():
|
||||
length = 1
|
||||
else:
|
||||
length = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user