From ac69b28f1bfbf30aa549a6b63909e1157bb9b387 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 28 Jun 2014 01:43:09 +0200 Subject: [PATCH] Pass options to Fill --- morss/morss.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/morss/morss.py b/morss/morss.py index 8835d80..89bbe79 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -409,7 +409,7 @@ def Fix(item, feedurl='/'): return item -def Fill(item, cache, feedurl='/', fast=False): +def Fill(item, cache, options, feedurl='/', fast=False): """ Returns True when it has done its best """ if not item.link: @@ -631,12 +631,12 @@ def Gather(rss, url, cache, options): if time.time() - start_time > max_time >= 0 or i + 1 > max_item >= 0: if not options.proxy: - if Fill(item, cache, url, True) is False: + if Fill(item, cache, options, url, True) is False: item.remove() return else: if not options.proxy: - Fill(item, cache, url) + Fill(item, cache, options, url) queue = Queue.Queue()