From d9e3f998d1f5b508f7b57782d44ce43f9dd75e55 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 7 Aug 2025 20:53:25 +0000 Subject: [PATCH] fix zipmaxu (it did nothing) --- copyparty/httpcli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index cb061ac2..73af0df7 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -4667,7 +4667,9 @@ class HttpCli(object): else: fn = self.host.split(":")[0] - if vn.flags.get("zipmax") and (not self.uname or not "zipmaxu" in vn.flags): + if vn.flags.get("zipmax") and not ( + vn.flags.get("zipmaxu") and self.uname != "*" + ): maxs = vn.flags.get("zipmaxs_v") or 0 maxn = vn.flags.get("zipmaxn_v") or 0 nf = 0