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:
parent
5970d00eb9
commit
8b730a3670
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user