diff --git a/Products/ZenModel/ZDeviceLoader.py b/Products/ZenModel/ZDeviceLoader.py index 176f0682cf..8e590c73bb 100644 --- a/Products/ZenModel/ZDeviceLoader.py +++ b/Products/ZenModel/ZDeviceLoader.py @@ -239,7 +239,7 @@ def createDevice(): # Now set the custom properties if cProperties is not None: - for prop, value in cProperties: + for prop, value in cProperties.items(): self.setCustomProperty(device, prop, value) return '/'.join(device.getPhysicalPath())