Fix message bus logging for audio service

==== Fixed Issues ====
#969

====  Tech Notes ====
The criteria for excluding messages were inverted and excluded all
messages containing 'mycroft.audio.service'. This criteria has been
fixed.

====  Documentation Notes ====
NONE - things like description of a new feature or notes on behavior
changes

==== Localization Notes ====
NONE - point out new strings, functions needing international versions,
     etc.

==== Environment Notes ====
NONE - new package requirements, new files being written to disk,
etc.

==== Protocol Notes ====
NONE - message types added or changed, new signals, etc.
pull/970/head
Åke Forslund 2017-08-08 14:23:02 +02:00
parent 3b8de2c094
commit 86cb1bb462
1 changed files with 1 additions and 2 deletions

View File

@ -413,8 +413,7 @@ def main():
def echo(message):
try:
_message = json.loads(message)
if 'mycroft.audio.service' in _message.get('type'):
if 'mycroft.audio.service' not in _message.get('type'):
return
message = json.dumps(_message)
except: