mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-06 02:16:45 +00:00
Ensure lists before conversion to dict
This commit is contained in:
parent
df88672655
commit
96449bb99b
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user