Ensure lists before conversion to dict

This commit is contained in:
Sajith Sasidharan 2020-05-04 14:05:33 -04:00
parent df88672655
commit 96449bb99b

View File

@ -472,7 +472,7 @@ class RootElement(Element):
srvstat = self._describe_server(server)
cs = server.get_connection_status()
constat = self._describe_connection_status(cs)
return dict(srvstat.items() + constat.items())
return dict(list(srvstat.items()) + list(constat.items()))
def _describe_connection_status(self, cs):
"""Return a dict containing some connection stats."""