Skip to content

Commit 35263dd

Browse files
committed
decode output
1 parent d0814d2 commit 35263dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: browserstack/local.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ def start(self, **kwargs):
5454
os.system('echo "" > "'+ self.local_logfile_path +'"')
5555
try:
5656
if out:
57-
data = json.loads(out)
57+
data = json.loads(out.decode())
5858
else:
59-
data = json.loads(err)
59+
data = json.loads(err.decode())
6060

6161
if data['state'] != "connected":
6262
raise BrowserStackLocalError(data["message"])

0 commit comments

Comments
 (0)