fixed PEP8 issue
parent
fbb1d06adc
commit
6fd97b4e85
|
@ -185,7 +185,8 @@ def wait_for_dialog_match(bus, dialogs, timeout=DEFAULT_TIMEOUT):
|
||||||
for message in bus.get_messages('speak'):
|
for message in bus.get_messages('speak'):
|
||||||
speak_messages.append(message)
|
speak_messages.append(message)
|
||||||
dialog = message.data.get('meta', {}).get('dialog')
|
dialog = message.data.get('meta', {}).get('dialog')
|
||||||
print('dialog: ', dialog, '\tutterance: ', message.data['utterance'])
|
print('dialog: ', dialog,
|
||||||
|
'\tutterance: ', message.data['utterance'])
|
||||||
if dialog in dialogs:
|
if dialog in dialogs:
|
||||||
wait_while_speaking()
|
wait_while_speaking()
|
||||||
match_found = True
|
match_found = True
|
||||||
|
|
Loading…
Reference in New Issue