From f6b985eaa9b4c138b2245e230950457b4413008f Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Thu, 21 May 2020 15:14:17 +0500 Subject: [PATCH] Fix process_async_iterable_helper. --- scrapy/utils/asyncgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/utils/asyncgen.py b/scrapy/utils/asyncgen.py index a076d840e..9c3ac83d5 100644 --- a/scrapy/utils/asyncgen.py +++ b/scrapy/utils/asyncgen.py @@ -27,5 +27,5 @@ async def process_async_iterable_helper(it, in_predicate=None, out_predicate=Non if processor is not None: o = processor(o) if out_predicate and not out_predicate(o): - return + continue yield o