mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11377 from dustin-crossman/master
Fixed byte string related TypeError if using python3.pull/11441/head
commit
7c423db9cc
|
@ -197,7 +197,7 @@ class MSDUtils(object):
|
|||
|
||||
@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:
|
||||
|
|
Loading…
Reference in New Issue