Merge pull request #2790 from forslund/bugfix/pairing-complete-mic-unmute

Unshadow Message class in _handle_pairing_complete
pull/2578/head
Kris Gesling 2021-01-05 10:20:14 +09:30 committed by GitHub
commit c0dac56ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.