diff --git a/scrapy/commands/parse.py b/scrapy/commands/parse.py index 0185bcabd..6a8978415 100644 --- a/scrapy/commands/parse.py +++ b/scrapy/commands/parse.py @@ -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