diff --git a/bluetooth_devices.py b/bluetooth_devices.py index 987f71a..2fc7a32 100644 --- a/bluetooth_devices.py +++ b/bluetooth_devices.py @@ -240,7 +240,6 @@ async def remove_device(self, device_object_path: str) -> None: if device in list: list.remove(device) await device.finalise() - del device def switch_host(self) -> None: self.current_host_index = (self.current_host_index + 1) % len(self.connected_hosts)