Fix nameless services bug

This commit is contained in:
Itay Mizeretz 2017-09-24 15:22:26 +03:00
parent 361064b233
commit 71e9675755
1 changed files with 1 additions and 1 deletions

View File

@ -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):