From 9d450b5890a0ad0abe752e9f8243f71bf396a0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85ke=20Forslund?= Date: Mon, 4 Jan 2021 21:33:24 +0100 Subject: [PATCH] Unshadow Message class in _handle_pairing_complete Fixes a small typo making the unmute after first pairing call fail. --- mycroft/client/enclosure/generic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycroft/client/enclosure/generic/__init__.py b/mycroft/client/enclosure/generic/__init__.py index a86dda739c..a694fa36e2 100644 --- a/mycroft/client/enclosure/generic/__init__.py +++ b/mycroft/client/enclosure/generic/__init__.py @@ -80,7 +80,7 @@ class EnclosureGeneric(Enclosure): def speak(self, text): self.bus.emit(Message("speak", {'utterance': text})) - def _handle_pairing_complete(self, Message): + def _handle_pairing_complete(self, _): """ Handler for 'mycroft.paired', unmutes the mic after the pairing is complete.