- re-enable return_fields specification
[plcapi.git] / PLC / Methods / UpdatePCU.py
index 5980f0c..e22227b 100644 (file)
@@ -33,7 +33,7 @@ class UpdatePCU(Method):
         pcu_fields = dict(filter(can_update, pcu_fields.items()))
 
         # Get associated PCU details
-        pcus = PCUs(self.api, [pcu_id]).values()
+        pcus = PCUs(self.api, [pcu_id])
         if not pcus:
             raise PLCInvalidArgument, "No such PCU"
         pcu = pcus[0]