This commit is contained in:
2Shirt 2018-09-29 14:36:31 -06:00
parent 162712871e
commit 30141916b4
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -162,7 +162,7 @@ def find_core_storage_volumes(device_path=None):
cmd = [
'lsblk', '--json', '--list', '--paths',
'--output', 'NAME,PARTTYPE']
if device:
if device_path:
cmd.append(device_path)
result = run_program(cmd)
json_data = json.loads(result.stdout.decode())