mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Book Jacket: Don't insert empty series into the jacket
This commit is contained in:
parent
51a6ad79ae
commit
f06fa802c0
@ -66,8 +66,10 @@ class Jacket(object):
|
||||
comments = ''
|
||||
comments = comments.replace('\r\n', '\n').replace('\n\n', '<br/><br/>')
|
||||
series = '<b>Series: </b>' + escape(mi.series if mi.series else '')
|
||||
if series and mi.series_index is not None:
|
||||
if mi.series and mi.series_index is not None:
|
||||
series += escape(' [%s]'%mi.format_series_index())
|
||||
if not mi.series:
|
||||
series = ''
|
||||
tags = mi.tags
|
||||
if not tags:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user