Scrapy, a fast high-level web crawling & scraping framework for Python.
fixed bug in MEMUSAGE_NOTIFY_MAIL setting
Pablo Hoffman6cc40dc0623e
diff --git a/scrapy/contrib/memusage.py b/scrapy/contrib/memusage.pyindex 95de44997..4ac9e5198 100644--- a/scrapy/contrib/memusage.py+++ b/scrapy/contrib/memusage.py@@ -28,7 +28,7 @@ class MemoryUsage(object):self.crawler = crawlerself.warned = False- self.notify_mails = crawler.settings.getlist('MEMUSAGE_NOTIFY')+ self.notify_mails = crawler.settings.getlist('MEMUSAGE_NOTIFY_MAIL')self.limit = crawler.settings.getint('MEMUSAGE_LIMIT_MB')*1024*1024self.warning = crawler.settings.getint('MEMUSAGE_WARNING_MB')*1024*1024self.report = crawler.settings.getbool('MEMUSAGE_REPORT')