Fix cached errors handling
This commit is contained in:
		@@ -353,7 +353,7 @@ def Fill(item, cache, options, feedurl='/', fast=False):
 | 
				
			|||||||
        content = cache.get(link)
 | 
					        content = cache.get(link)
 | 
				
			||||||
        match = re.search(r'^error-([a-z]{2,10})$', content)
 | 
					        match = re.search(r'^error-([a-z]{2,10})$', content)
 | 
				
			||||||
        if match:
 | 
					        if match:
 | 
				
			||||||
            if cache.age(link) > DELAY:
 | 
					            if cache.age(link) < DELAY:
 | 
				
			||||||
                log('cached error: %s' % match.groups()[0])
 | 
					                log('cached error: %s' % match.groups()[0])
 | 
				
			||||||
                return True
 | 
					                return True
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user