Skip to content
Snippets Groups Projects
Commit b2a6eb90 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-1258: Fix black errors

parent d479772b
No related branches found
No related tags found
1 merge request!546Fix sleep when waiting for archive period
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment