From 006adf35926e2fc7921d706e8bd62dc3d01a760c Mon Sep 17 00:00:00 2001 From: Dustin Crossman Date: Thu, 29 Aug 2019 10:42:50 -0700 Subject: [PATCH] Fixed byte string related TypeError if using python3. --- TESTS/host_tests/pyusb_msd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTS/host_tests/pyusb_msd.py b/TESTS/host_tests/pyusb_msd.py index 4ab75296576..9d0e0284548 100644 --- a/TESTS/host_tests/pyusb_msd.py +++ b/TESTS/host_tests/pyusb_msd.py @@ -197,7 +197,7 @@ def _disk_path_windows(serial): @staticmethod def _disk_path_linux(serial): - output = subprocess.check_output(['lsblk', '-dnoserial,mountpoint']).split('\n') + output = subprocess.check_output(['lsblk', '-dnoserial,mountpoint']).split(b'\n') for line in output: serial_and_mount_point = line.split() if len(serial_and_mount_point) == 2: