mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
avoid macos bug (finder hangs on connect)
This commit is contained in:
parent
3560eeb10e
commit
a01870b744
|
@ -1599,6 +1599,10 @@ class HttpCli(object):
|
||||||
"quota-available-bytes": str(bfree),
|
"quota-available-bytes": str(bfree),
|
||||||
"quota-used-bytes": str(btot - 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:
|
else:
|
||||||
df = {}
|
df = {}
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue