mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 08:48:01 +00:00
Use Unicode strings to render space
This commit is contained in:
parent
aab940f65f
commit
0382b1ec63
@ -73,13 +73,13 @@ class StorageStatusElement(Element):
|
||||
|
||||
def render_abbrev_space(self, size):
|
||||
if size is None:
|
||||
return "?"
|
||||
return u"?"
|
||||
return abbreviate_space(size)
|
||||
|
||||
def render_space(self, size):
|
||||
if size is None:
|
||||
return "?"
|
||||
return "%d" % size
|
||||
return u"?"
|
||||
return u"%d" % size
|
||||
|
||||
@renderer
|
||||
def disk_total(self, req, tag):
|
||||
|
Loading…
x
Reference in New Issue
Block a user