mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 07:13:22 +02:00
Kobo no longer sets a the DateCreated on new book purchases?
This commit is contained in:
parent
51314ce5d8
commit
00ee7975ef
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ def __init__(self, prefix, lpath, title, authors, mime, date, ContentType,
|
|||
|
||||
self.size = size # will be set later if None
|
||||
|
||||
if ContentType == '6':
|
||||
if ContentType == '6' and date is not None:
|
||||
self.datetime = time.strptime(date, "%Y-%m-%dT%H:%M:%S.%f")
|
||||
else:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue