Skip to content

Commit 3fb77db

Browse files
Merge pull request #874 from JuhPuur/icetea_output_decode
Add decode call to icetea application list output
2 parents 7769661 + f714d76 commit 3fb77db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2925,7 +2925,7 @@ def test_(toolchain=None, target=None, macro=False, compile_list=False, run_list
29252925
if icetea:
29262926
proc = popen(icetea_command_base + ['--application-list'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
29272927
stderr=subprocess.STDOUT)
2928-
applications_to_add = proc.stdout.read()
2928+
applications_to_add = proc.stdout.read().decode("utf-8")
29292929
# Filter right row in case that debugger print something there
29302930
if applications_to_add and 'TEST_APPS-' in applications_to_add:
29312931
applications_to_add = list(filter(lambda x: 'TEST_APPS-' in x, applications_to_add.split('\n')))[0]

0 commit comments

Comments
 (0)