mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #643
This commit is contained in:
parent
1ca2299f5c
commit
2c063eb03a
@ -285,6 +285,7 @@ class BooksModel(QAbstractTableModel):
|
|||||||
'authors' : au,
|
'authors' : au,
|
||||||
'cover' : self.db.cover(row),
|
'cover' : self.db.cover(row),
|
||||||
'tags' : tags,
|
'tags' : tags,
|
||||||
|
'comments': self.db.comments(row),
|
||||||
}
|
}
|
||||||
if series is not None:
|
if series is not None:
|
||||||
mi['tag order'] = {series:self.db.books_in_series_of(row)}
|
mi['tag order'] = {series:self.db.books_in_series_of(row)}
|
||||||
|
@ -626,7 +626,9 @@ class Main(MainWindow, Ui_MainWindow):
|
|||||||
for a in aus:
|
for a in aus:
|
||||||
aus2.extend(a.split('&'))
|
aus2.extend(a.split('&'))
|
||||||
try:
|
try:
|
||||||
set_metadata(f, MetaInformation(mi['title'], aus2), f.name.rpartition('.')[2])
|
smi = MetaInformation(mi['title'], aus2)
|
||||||
|
smi.comments = mi.get('comments', None)
|
||||||
|
set_metadata(f, smi, f.name.rpartition('.')[2])
|
||||||
except:
|
except:
|
||||||
print 'Error setting metadata in book:', mi['title']
|
print 'Error setting metadata in book:', mi['title']
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user