diff --git a/nebula/netbox.py b/nebula/netbox.py index 46d189c..8d877cb 100644 --- a/nebula/netbox.py +++ b/nebula/netbox.py @@ -579,7 +579,9 @@ def disable(self, reason="nebula: Disable device", failed=False): else: self.nbi.update_status(device_id=device_id, status="offline") - self.nbi.log_journal(device_id=device_id, author_id=author.id, kind=kind, comments=reason) + self.nbi.log_journal( + device_id=device_id, author_id=author.id, kind=kind, comments=reason + ) def status(self): device_id = self.data["devices"]["id"]