- change calling convention for Add slightly; if the Add function for
[plcapi.git] / PLC / Methods / AddNodeGroup.py
index 34a73d2..f0dd56d 100644 (file)
@@ -30,7 +30,7 @@ class AddNodeGroup(Method):
     object_type = 'NodeGroup'
     object_ids = []
 
-    def call(self, auth, nodegroup_fields = {}):
+    def call(self, auth, nodegroup_fields):
         nodegroup_fields = dict(filter(can_update, nodegroup_fields.items()))
         nodegroup = NodeGroup(self.api, nodegroup_fields)
         nodegroup.sync()