mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-19 07:23:19 +02:00
Better fix for #7078
This commit is contained in:
parent
b40e5bba6e
commit
9571e23b19
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ def format_field_extended(self, key, series_with_index=True):
|
|||
if datatype == 'text' and cmeta['is_multiple']:
|
||||
res = u', '.join(res)
|
||||
elif datatype == 'series' and series_with_index:
|
||||
if self.get_extra(key):
|
||||
if self.get_extra(key) is not None:
|
||||
res = res + \
|
||||
' [%s]'%self.format_series_index(val=self.get_extra(key))
|
||||
elif datatype == 'datetime':
|
||||
|
|
|
|||
Loading…
Reference in a new issue