mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 11:16:24 +00:00
Make sure version is not None
This commit is contained in:
parent
b2d4374976
commit
180975b0af
@ -205,7 +205,10 @@ class Root(rend.Page):
|
||||
servers[server_id]["connection_status"] = server.get_connection_status().summary
|
||||
servers[server_id]["available_space"] = server.get_available_space()
|
||||
servers[server_id]["nickname"] = server.get_nickname()
|
||||
servers[server_id]["version"] = server.get_version()["application-version"]
|
||||
if server.get_version() is not None:
|
||||
servers[server_id]["version"] = server.get_version()["application-version"]
|
||||
else:
|
||||
servers[server_id]["version"] = ""
|
||||
servers[server_id]["last_received_data"] = server.rref.getDataLastReceivedAt()
|
||||
data = {
|
||||
"introducers": {
|
||||
|
Loading…
Reference in New Issue
Block a user