mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
a2172713f2
@ -1452,6 +1452,9 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
|||||||
b = booklists[0].add_book(book, replace_metadata=True)
|
b = booklists[0].add_book(book, replace_metadata=True)
|
||||||
if b:
|
if b:
|
||||||
b._new_book = True
|
b._new_book = True
|
||||||
|
from calibre.utils.date import isoformat, now
|
||||||
|
b.set('_format_mtime_', isoformat(now()))
|
||||||
|
|
||||||
self.report_progress(1.0, _('Adding books to device metadata listing...'))
|
self.report_progress(1.0, _('Adding books to device metadata listing...'))
|
||||||
self._debug('finished adding metadata')
|
self._debug('finished adding metadata')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user