mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-17 13:57:04 +01:00
update series info from metadata
This commit is contained in:
parent
fb5c70af29
commit
f283dc892e
1 changed files with 1 additions and 3 deletions
|
|
@ -594,10 +594,8 @@ def fetch_metadata(self):
|
|||
self.rating.setValue(int(book.rating))
|
||||
if book.tags:
|
||||
self.tags.setText(', '.join(book.tags))
|
||||
print 'setting series'
|
||||
print book.series
|
||||
if book.series is not None:
|
||||
if self.series is not None:
|
||||
if self.series.text() is None or self.series.text() == '':
|
||||
self.series.setText(book.series)
|
||||
if book.series_index is not None:
|
||||
self.series_index.setValue(book.series_index)
|
||||
|
|
|
|||
Loading…
Reference in a new issue