mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
tree broke
This commit is contained in:
parent
da01413b7b
commit
768405b691
|
@ -1130,13 +1130,13 @@ class HttpCli(object):
|
|||
|
||||
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:
|
||||
vfs_ls = exclude_dotfiles(vfs_ls)
|
||||
|
||||
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():
|
||||
if x != excl:
|
||||
|
|
Loading…
Reference in a new issue