Render total introducers correctly

This commit is contained in:
Sajith Sasidharan 2020-04-28 07:42:57 -04:00
parent a646c7decd
commit 8d4949f96b

View File

@ -386,7 +386,7 @@ class RootElement(Element):
@renderer
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
def data_introducers(self, ctx, data):