mirror of
https://github.com/9001/copyparty.git
synced 2026-06-20 13:12:26 -06:00
addition to last commit
This commit is contained in:
parent
06b2ff3e56
commit
388f7e5f73
|
|
@ -7017,7 +7017,7 @@ class HttpCli(object):
|
||||||
h1 = humansize(free or 0)
|
h1 = humansize(free or 0)
|
||||||
h2 = humansize(total)
|
h2 = humansize(total)
|
||||||
srv_info.append("{} free of {}".format(h1, h2))
|
srv_info.append("{} free of {}".format(h1, h2))
|
||||||
if(total > 0)
|
if(total > 0):
|
||||||
space_used_percent = (total - (free or 0)) / total * 100
|
space_used_percent = (total - (free or 0)) / total * 100
|
||||||
elif zs:
|
elif zs:
|
||||||
self.log("diskfree(%r): %s" % (abspath, zs), 3)
|
self.log("diskfree(%r): %s" % (abspath, zs), 3)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue