Go for all lines!

This commit is contained in:
Adrián Chaves 2020-06-17 18:19:13 +02:00
parent a3eb069b84
commit 477b9e2453
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ sys.exit(mitmdump())
'--ssl-insecure',
],
stdout=PIPE, env=get_testenv())
line = self.proc.stdout.readline().decode('utf-8')
line = self.proc.stdout.read().decode('utf-8')
pattern = r'listening at http://([^:]+:\d+)'
match = re.search(pattern, line)
if not match: