mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 01:45:04 +01:00
Fix #2745 (Patch to read pubdate on import)
This commit is contained in:
commit
9ff952beae
1 changed files with 2 additions and 0 deletions
|
|
@ -1048,6 +1048,8 @@ def set_metadata(self, id, mi):
|
|||
self.set_isbn(id, mi.isbn, notify=False)
|
||||
if mi.series_index:
|
||||
self.set_series_index(id, mi.series_index, notify=False)
|
||||
if mi.pubdate:
|
||||
self.set_pubdate(id, mi.pubdate, notify=False)
|
||||
if getattr(mi, 'timestamp', None) is not None:
|
||||
self.set_timestamp(id, mi.timestamp, notify=False)
|
||||
self.set_path(id, True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue