Skip to content

Commit

Permalink
Update middleware.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKorzh committed Aug 9, 2024
1 parent 0f74345 commit f131f63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scrapypuppeteer/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,5 @@ def __is_closing(self, response, remove_request: bool = True) -> bool:
close_page = main_request in self._page_closing
if close_page and remove_request:
self._page_closing.remove(main_request)
return close_page
return close_page

0 comments on commit f131f63

Please sign in to comment.