diff --git a/tangostationcontrol/tangostationcontrol/devices/calibration.py b/tangostationcontrol/tangostationcontrol/devices/calibration.py index ff3cb3280b754e624eaf7aa46bb5dee3bfc8c4bf..472bb89f0249efbfb0127e729313e7ae6e285d50 100644 --- a/tangostationcontrol/tangostationcontrol/devices/calibration.py +++ b/tangostationcontrol/tangostationcontrol/devices/calibration.py @@ -119,9 +119,8 @@ class Calibration(LOFARDevice): for k, ant in self.ant_proxies.items(): # Recalibrate associated AntennaFields sdpfirmware_device = ant.SDPFirmware_device_R - sdp_device = self.sdpfirmware_proxies[sdpfirmware_device].SDP_device_R - if device_name_matches(sdp_device, event.device.name()): + if device_name_matches(sdpfirmware_device, event.device.name()): self._calibrate_antenna_field(k) # TODO(JDM): While we could read this from our control parent (StationManager),