avoid macos bug (finder hangs on connect)

This commit is contained in:
ed 2025-08-10 13:55:52 +02:00
parent 3560eeb10e
commit a01870b744

View file

@ -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: