mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 13:33:09 -07:00
parent
ba67b27946
commit
0a3a80725a
|
|
@ -6490,7 +6490,7 @@ class HttpCli(object):
|
|||
zs = "%s/" % (self.vpath,)
|
||||
vols = [(x[len(zs) :], y) for x, y in vols if x.startswith(zs)]
|
||||
vols = [(x.split("/", 1)[0], y) for x, y in vols]
|
||||
vols = [x for x in vols if x[0]]
|
||||
vols = list(({x: y for x, y in vols if x}).items())
|
||||
if not vols and self.vpath:
|
||||
return self.tx_404(True)
|
||||
dirs = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue