diff --git a/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py b/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py index e3567d4ccaf57e590415066d3e2be61f130d1fe4..35aca48310b97f6b8b0ba9d02cf010d7659b9e3d 100644 --- a/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py +++ b/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py @@ -142,7 +142,9 @@ class TemperatureManager(LOFARDevice): dev_attr = self.temp_error_attrs[attr_name] dev_attr.proxy.unsubscribe_event(dev_attr.subscription_id) except Exception as e: - raise Exception(f"Failed to unsubscribe from event regarding device {dev_attr.proxy.dev_name()} attribute {attr_name}") from e + raise Exception( + f"Failed to unsubscribe from event regarding device {dev_attr.proxy.dev_name()} attribute {attr_name}" + ) from e finally: del self.temp_error_attrs[attr_name]