neutrino save services fix

This commit is contained in:
Dmitriy Yefremov
2018-02-11 10:50:21 +03:00
parent 47f26b0f4c
commit 0daaf6d1e5

View File

@@ -53,8 +53,8 @@ def write_services(path, services):
for srv in transponers.get(tr):
srv_elem = doc.createElement("S")
srv_elem.setAttribute("i", srv[8])
srv_elem.setAttribute("n", srv[3])
srv_elem.setAttribute("i", srv.ssid)
srv_elem.setAttribute("n", srv.service)
srv_attrs = srv.data_id.split(":")
api = srv_attrs.pop(0)