1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-22 07:32:41 +00:00

Use self.proc.communicate() after killing mitmdump.

This commit is contained in:
Andrey Rakhmatullin 2019-11-01 19:50:56 +05:00
parent 5970d00eb9
commit 8b730a3670

View File

@ -48,8 +48,7 @@ sys.exit(mitmdump())
def stop(self):
self.proc.kill()
self.proc.wait()
time.sleep(0.2)
self.proc.communicate()
def _wrong_credentials(proxy_url):