mirror of https://github.com/scrapy/scrapy.git
don't reset scrapy stats when spider is opened
This commit is contained in:
parent
ceeea27d21
commit
1ae1a3ea52
|
|
@ -37,7 +37,7 @@ class StatsCollector(object):
|
|||
self._stats.clear()
|
||||
|
||||
def open_spider(self, spider):
|
||||
self._stats = {}
|
||||
pass
|
||||
|
||||
def close_spider(self, spider, reason):
|
||||
if self._dump:
|
||||
|
|
|
|||
Loading…
Reference in New Issue