mirror of https://github.com/scrapy/scrapy.git
Fixed small bug in adaptor pipelines that tried to work with None values
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40774
This commit is contained in:
parent
7ed88fd0f3
commit
e8e87bcb52
|
|
@ -73,7 +73,7 @@ class AdaptorPipe(list):
|
|||
val = adaptor(val, kwargs or {})
|
||||
if isinstance(val, tuple):
|
||||
next_round.extend(val)
|
||||
else:
|
||||
elif val is not None:
|
||||
next_round.append(val)
|
||||
|
||||
if self.debug:
|
||||
|
|
|
|||
Loading…
Reference in New Issue