Make :theforce also bypass http errors

This commit is contained in:
2015-02-21 01:58:16 +08:00
parent f0dcb9912e
commit d5269964fc
2 changed files with 2 additions and 2 deletions

View File

@@ -353,7 +353,7 @@ def Fill(item, cache, options, feedurl='/', fast=False):
content = cache.get(link)
match = re.search(r'^error-([a-z]{2,10})$', content)
if match:
if cache.age(link) < DELAY:
if cache.age(link) < DELAY and not options.theforce:
log('cached error: %s' % match.groups()[0])
return True
else: