Added recipes for Scientific American and Discover Magazine

This commit is contained in:
Kovid Goyal 2008-09-23 16:28:02 -07:00
parent ba38ad39bf
commit 039f0b855e
2 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,7 @@ recipes = [
'nytimes', 'usatoday', 'outlook_india', 'bbc', 'greader', 'wsj', 'nytimes', 'usatoday', 'outlook_india', 'bbc', 'greader', 'wsj',
'wired', 'globe_and_mail', 'smh', 'espn', 'business_week', 'wired', 'globe_and_mail', 'smh', 'espn', 'business_week',
'ars_technica', 'upi', 'new_yorker', 'irish_times', 'iht', 'ars_technica', 'upi', 'new_yorker', 'irish_times', 'iht',
'discover_magazine', 'scientific_american',
] ]
import re, imp, inspect, time import re, imp, inspect, time

View File

@ -198,7 +198,6 @@ class RecursiveFetcher(object, LoggingInterface):
except Exception, err: except Exception, err:
self.log_warning('Could not fetch stylesheet %s', iurl) self.log_warning('Could not fetch stylesheet %s', iurl)
self.log_debug('Error: %s', str(err), exc_info=True) self.log_debug('Error: %s', str(err), exc_info=True)
if hasattr(f, 'close'): f.close()
continue continue
stylepath = os.path.join(diskpath, 'style'+str(c)+'.css') stylepath = os.path.join(diskpath, 'style'+str(c)+'.css')
with self.stylemap_lock: with self.stylemap_lock: