replace with single function ResetPassword()
[plcapi.git] / PLC / Methods / UpdateNodeNetwork.py
index 149c541..244647c 100644 (file)
@@ -62,4 +62,8 @@ class UpdateNodeNetwork(Method):
        nodenetwork.update(nodenetwork_fields)
         nodenetwork.sync()
        
+       self.object_ids = [nodenetwork['nodenetwork_id']]
+       self.message = "Node network %d updated: %s " % \
+           (nodenetwork['nodenetwork_id'], ", ".join(nodenetwork_fields.keys()))
+
         return 1