mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-31 08:38:23 +01:00
Fix #897907 (Feed downloads don't respect recipe delay)
This commit is contained in:
commit
75be93397b
1 changed files with 2 additions and 0 deletions
|
|
@ -1398,6 +1398,8 @@ def parse_feeds(self):
|
|||
oldest_article=self.oldest_article,
|
||||
max_articles_per_feed=self.max_articles_per_feed,
|
||||
get_article_url=self.get_article_url))
|
||||
if (self.delay > 0):
|
||||
time.sleep(self.delay)
|
||||
except Exception as err:
|
||||
feed = Feed()
|
||||
msg = 'Failed feed: %s'%(title if title else url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue