Commit acce62b4 authored by Stauros Kroustouris's avatar Stauros Kroustouris

remove duplicate ifces

parent 2fae7346
......@@ -26,6 +26,7 @@ def peer_ifces(request, peer_id):
'ifce': ifce.name,
'site': ifce.description.split('[')[1].split('-')[0]
})
response = list(set(response))
json_str = json.dumps(response)
return HttpResponse(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment