get_engine_status(): also look up open spiders in scraper component

This commit is contained in:
Pablo Hoffman 2011-06-18 02:48:01 -03:00
parent e575e015c1
commit dd90e83eae
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def get_engine_status(engine=None):
status['global'][test] = eval(test)
except Exception, e:
status['global'][test] = "%s (exception)" % type(e).__name__
for spider in engine.downloader.sites:
for spider in engine.downloader.sites + engine.scraper.sites:
x = {}
for test in spider_tests:
try: