Add 'theforce' option to redownload xml

Useful for debugging
master
pictuga 2013-11-03 13:29:35 +01:00
parent 5737adc253
commit 7504cfed2a
1 changed files with 1 additions and 1 deletions

View File

@ -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')