tree broke

This commit is contained in:
ed 2021-03-04 01:32:44 +01:00
parent da01413b7b
commit 768405b691

View file

@ -1130,13 +1130,13 @@ class HttpCli(object):
dirs = [] dirs = []
vfs_ls = [x[0] for x in vfs_virt if stat.S_ISDIR(x[1])] vfs_ls = [x[0] for x in vfs_ls if stat.S_ISDIR(x[1].st_mode)]
if not self.args.ed or "dots" not in self.uparam: if not self.args.ed or "dots" not in self.uparam:
vfs_ls = exclude_dotfiles(vfs_ls) vfs_ls = exclude_dotfiles(vfs_ls)
for fn in [x for x in vfs_ls if x != excl]: for fn in [x for x in vfs_ls if x != excl]:
dirs.append(os.path.join(fsroot, fn)) dirs.append(fn)
for x in vfs_virt.keys(): for x in vfs_virt.keys():
if x != excl: if x != excl: