From 7504cfed2a0a4a0ddd0ae71d45492cb2c850b58c Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 3 Nov 2013 13:29:35 +0100 Subject: [PATCH] Add 'theforce' option to redownload xml Useful for debugging --- morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss.py b/morss.py index e5a9f70..2f9bf13 100644 --- a/morss.py +++ b/morss.py @@ -415,7 +415,7 @@ def Gather(url, cachePath, options): log(cache._hash) # fetch feed - if cache.isYoungerThan(DELAY) and 'xml' in cache and 'style' in cache: + if cache.isYoungerThan(DELAY) and not options.theforce and 'xml' in cache and 'style' in cache: log('xml cached') xml = cache.get('xml') style = cache.get('style')