mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 03:16:12 +01:00
Fix #791
This commit is contained in:
parent
5ad2c3c802
commit
8cf8b56bcc
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,8 @@ def parse_article(self, item):
|
|||
if id in self.added_articles:
|
||||
return
|
||||
published = item.get('date_parsed', time.gmtime())
|
||||
if not published:
|
||||
published = time.gmtime()
|
||||
self.id_counter += 1
|
||||
self.added_articles.append(id)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue