mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Accept null last_modified dates from a smart device. Can happen when books are added from a scan and not matched.
This commit is contained in:
parent
5083f9f13c
commit
2b7f9c4b3d
@ -682,6 +682,8 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
||||
return None
|
||||
|
||||
def _metadata_in_cache(self, uuid, ext, lastmod):
|
||||
if lastmod == 'None':
|
||||
return None
|
||||
from calibre.utils.date import parse_date, now
|
||||
key = uuid+ext
|
||||
if isinstance(lastmod, unicode):
|
||||
|
Loading…
x
Reference in New Issue
Block a user