From 5785896007d09dc7d4865eac690e93e63c46d27d Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Fri, 21 Jun 2013 16:39:30 +0200 Subject: [PATCH] status: the device may be invalid when processing the unpair notification --- lib/logitech/unifying_receiver/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logitech/unifying_receiver/status.py b/lib/logitech/unifying_receiver/status.py index a4d9c832..5e3659a5 100644 --- a/lib/logitech/unifying_receiver/status.py +++ b/lib/logitech/unifying_receiver/status.py @@ -218,7 +218,7 @@ class DeviceStatus(dict): def _changed(self, active=None, alert=ALERT.NONE, reason=None, timestamp=None): assert self._changed_callback d = self._device - assert d + # assert d # may be invalid when processing the 'unpaired' notification if active is not None: d.online = active