diff --git a/platypush/backend/zwave/__init__.py b/platypush/backend/zwave/__init__.py index 60648d632..e08cff62b 100644 --- a/platypush/backend/zwave/__init__.py +++ b/platypush/backend/zwave/__init__.py @@ -152,7 +152,7 @@ class ZwaveBackend(Backend): if event.signal == network.SIGNAL_NETWORK_STOPPED or \ event.signal == network.SIGNAL_DRIVER_REMOVED: - event_queue.put(ZwaveNetworkStoppedEvent(device=self.device)) + event = ZwaveNetworkStoppedEvent(device=self.device) elif event.signal == network.SIGNAL_ALL_NODES_QUERIED or \ event.signal == network.SIGNAL_ALL_NODES_QUERIED_SOME_DEAD: event = ZwaveNodeQueryCompletedEvent(device=self.device)