From 00ee7975ef72aa88edea5399843f7510539b6e08 Mon Sep 17 00:00:00 2001 From: Timothy Legge Date: Thu, 13 Jan 2011 20:51:54 -0400 Subject: [PATCH] Kobo no longer sets a the DateCreated on new book purchases? --- src/calibre/devices/kobo/books.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/kobo/books.py b/src/calibre/devices/kobo/books.py index 24ec272bb1..8d58dde892 100644 --- a/src/calibre/devices/kobo/books.py +++ b/src/calibre/devices/kobo/books.py @@ -27,7 +27,7 @@ class Book(Book_): 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: