kobuddy icon indicating copy to clipboard operation
kobuddy copied to clipboard

mountpoints list on newest lsblk not mountpoint

Open UlisseMini opened this issue 4 years ago • 0 comments

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'.

UlisseMini avatar Aug 17 '21 14:08 UlisseMini