From a01870b744dc12292808f2002ad86b1e7f1268f8 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 10 Aug 2025 13:55:52 +0200 Subject: [PATCH] avoid macos bug (finder hangs on connect) --- copyparty/httpcli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 29e4c610..72bff45e 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -1599,6 +1599,10 @@ class HttpCli(object): "quota-available-bytes": str(bfree), "quota-used-bytes": str(btot - bfree), } + if "quotaused" in props: # macos finder crazytalk + df["quotaused"] = df["quota-used-bytes"] + if "quota" in props: + df["quota"] = df["quota-available-bytes"] # idk, makes it happy else: df = {} else: