def umount(subd, grid=False):
    ' Unmount `subd` tar archive folder\n\n    The command to unmount a fuse folder is fusermount -u'
    if grid:
        destdir = dirgrid.format(subd=subd)
    else:
        destdir = dirhis.format(subd=subd)
    if (os.path.isdir(destdir) and (len(os.listdir(f'{destdir}')) != 0)):
        command = f'fusermount -u {destdir}'
        os.system(command)
    else:
        pass
Unmount `subd` tar archive folder

The command to unmount a fuse folder is fusermount -u
def umount(subd, grid=False):
    ' Unmount `subd` tar archive folder\n\n    The command to unmount a fuse folder is fusermount -u'
    if grid:
        destdir = dirgrid.format(subd=subd)
    else:
        destdir = dirhis.format(subd=subd)
    if (os.path.isdir(destdir) and (len(os.listdir(f'{destdir}')) != 0)):
        command = f'fusermount -u {destdir}'
        os.system(command)
    else:
        pass