diff --git a/backend/indi/server.py b/backend/indi/server.py index 4a3fb42a..8fa3f889 100644 --- a/backend/indi/server.py +++ b/backend/indi/server.py @@ -145,5 +145,5 @@ def wait_for_interfaces(): threading.Thread(target=wait_for_interfaces).start() def __on_device_removed(self, device): - self.event_listener.on_device_removed(self.device(name=device.name)) + self.event_listener.on_device_removed(self.device(name=device))