- return hostnames instead of node_ids
[plcapi.git] / PLC / Methods / GetNetworkTypes.py
index ed6ec88..eab232b 100644 (file)
@@ -17,5 +17,6 @@ class GetNetworkTypes(Method):
 
     returns = [NetworkType.fields['type']]
 
+
     def call(self, auth):
-        return [network_type['type'] for network_type in NetworkTypes(self.api).values()]
+        return [network_type['type'] for network_type in NetworkTypes(self.api)]