forked from p15670423/monkey
Fix nameless services bug
This commit is contained in:
parent
361064b233
commit
71e9675755
|
@ -150,7 +150,7 @@ class EdgeService:
|
|||
|
||||
@staticmethod
|
||||
def services_to_displayed_services(services):
|
||||
return [x + ": " + services[x]["name"] for x in services]
|
||||
return [x + ": " + (services[x]['name'] if services[x].has_key('name') else 'unknown') for x in services]
|
||||
|
||||
@staticmethod
|
||||
def edge_to_net_edge(edge):
|
||||
|
|
Loading…
Reference in New Issue