fixed bug in MEMUSAGE_NOTIFY_MAIL setting

This commit is contained in:
Pablo Hoffman 2011-11-08 11:51:26 -02:00
parent 37ad4f8791
commit 6cc40dc062
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class MemoryUsage(object):
self.crawler = crawler
self.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*1024
self.warning = crawler.settings.getint('MEMUSAGE_WARNING_MB')*1024*1024
self.report = crawler.settings.getbool('MEMUSAGE_REPORT')