mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #8308 (Kobo drive does not deal with Null value in DateCreated column)
This commit is contained in:
commit
ab0bde42fa
@ -27,7 +27,7 @@ class Book(Book_):
|
|||||||
|
|
||||||
self.size = size # will be set later if None
|
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")
|
self.datetime = time.strptime(date, "%Y-%m-%dT%H:%M:%S.%f")
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user