Fix cached errors handling

master
pictuga 2015-02-21 01:57:33 +08:00
parent f62aedda12
commit f0dcb9912e
1 changed files with 1 additions and 1 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:
log('cached error: %s' % match.groups()[0])
return True
else: