mirror of https://github.com/scrapy/scrapy.git
Fixed typo in error message when selecting a callback method for the parse command.
This commit is contained in:
parent
414857a593
commit
625c69fdc7
|
|
@ -175,7 +175,7 @@ class Command(ScrapyCommand):
|
|||
cb = cb_method
|
||||
else:
|
||||
logger.error('Cannot find callback %(callback)r in spider: %(spider)s',
|
||||
{'callback': callback, 'spider': spider.name})
|
||||
{'callback': cb, 'spider': spider.name})
|
||||
return
|
||||
|
||||
# parse items and requests
|
||||
|
|
|
|||
Loading…
Reference in New Issue