mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix #791
This commit is contained in:
parent
5ad2c3c802
commit
8cf8b56bcc
@ -109,6 +109,8 @@ class Feed(object):
|
|||||||
if id in self.added_articles:
|
if id in self.added_articles:
|
||||||
return
|
return
|
||||||
published = item.get('date_parsed', time.gmtime())
|
published = item.get('date_parsed', time.gmtime())
|
||||||
|
if not published:
|
||||||
|
published = time.gmtime()
|
||||||
self.id_counter += 1
|
self.id_counter += 1
|
||||||
self.added_articles.append(id)
|
self.added_articles.append(id)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user