Make cache settings in morss nicer
parent
e5f8e43659
commit
627163abff
|
@ -507,7 +507,10 @@ def process(url, cache=None, options=None):
|
||||||
options = []
|
options = []
|
||||||
|
|
||||||
options = Options(options)
|
options = Options(options)
|
||||||
if cache: crawler.sqlite_default = cache
|
|
||||||
|
if cache:
|
||||||
|
crawler.sqlite_default = cache
|
||||||
|
|
||||||
rss = FeedFetch(url, options)
|
rss = FeedFetch(url, options)
|
||||||
rss = FeedGather(rss, url, options)
|
rss = FeedGather(rss, url, options)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue