From 266489113a82976736476768e31a6924c5be0572 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 12 Jan 2026 18:06:05 +0000 Subject: [PATCH] fix unlistc* for filevols --- copyparty/httpcli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index f7ff5b62..9a0d8b98 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -5434,8 +5434,8 @@ class HttpCli(object): if self.args.have_unlistc: allvols = self.asrv.vfs.all_nodes - rvol = [x for x in rvol if "unlistcr" not in allvols[x[1:-1]].flags] - wvol = [x for x in wvol if "unlistcw" not in allvols[x[1:-1]].flags] + rvol = [x for x in rvol if "unlistcr" not in allvols[x.strip("/")].flags] + wvol = [x for x in wvol if "unlistcw" not in allvols[x.strip("/")].flags] fmt = self.uparam.get("ls", "") if not fmt and self.ua.startswith(("curl/", "fetch")):