Fixed typo in error message when selecting a callback method for the parse command.

This commit is contained in:
Joakim Uddholm 2016-08-08 14:32:53 +02:00
parent 414857a593
commit 625c69fdc7
1 changed files with 1 additions and 1 deletions

View File

@ -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