mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 00:45:52 +00:00
Render total introducers correctly
This commit is contained in:
parent
a646c7decd
commit
8d4949f96b
@ -386,7 +386,7 @@ class RootElement(Element):
|
|||||||
|
|
||||||
@renderer
|
@renderer
|
||||||
def total_introducers(self, req, tag):
|
def total_introducers(self, req, tag):
|
||||||
return tag(str(self._client.introducer_connection_statuses()))
|
return tag(str(len(self._client.introducer_connection_statuses())))
|
||||||
|
|
||||||
# In case we configure multiple introducers
|
# In case we configure multiple introducers
|
||||||
def data_introducers(self, ctx, data):
|
def data_introducers(self, ctx, data):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user