mirror of
https://github.com/9001/copyparty.git
synced 2025-08-16 08:32:13 -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-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:
|
||||
|
|
Loading…
Reference in a new issue