This commit is contained in:
Kovid Goyal 2013-09-19 08:49:49 +05:30
parent f59d90e68e
commit 4e35050879

View File

@ -776,7 +776,7 @@ class PRST1(USBMS):
return False
if not book.lpath.lower().endswith('.epub'):
return False
if book.pubdate.date() < date(2010, 10, 17):
if book.pubdate is None or book.pubdate.date() < date(2010, 10, 17):
return False
return True