kobuddy
kobuddy copied to clipboard
mountpoints list on newest lsblk not mountpoint
On archlinux with lsblk from util-linux 2.37.1 I get this json output from lsblk -f --json
{
"name": "sda",
"fstype": "vfat",
"fsver": "FAT32",
"label": "KOBOeReader",
"uuid": "5C94-1315",
"fsavail": "4.5G",
"fsuse%": "33%",
"mountpoints": [
"/mnt/ereader"
]
}
The code wants "mountpoint": "/mnt/ereader". so I get a KeyError: 'mountpoint'.