Log level change

This commit is contained in:
Ruben van de Ven 2019-05-14 18:39:22 +02:00
parent 9245b319d2
commit f33a634902

View file

@ -1355,7 +1355,7 @@ class Story(object):
# The 'is_final' from google sometimes comes 2 sec after finishing speaking # The 'is_final' from google sometimes comes 2 sec after finishing speaking
# therefore, we ignore the timing of this transcription if something has been said already # therefore, we ignore the timing of this transcription if something has been said already
if e['is_final'] and utterance.hasText(): if e['is_final'] and utterance.hasText():
self.logger.warning(f'ignore timing: {now} use {utterance.lastUpdateTime}') self.logger.debug(f'ignore timing: {now} use {utterance.lastUpdateTime}')
utterance.setText(e['transcript'], utterance.lastUpdateTime) utterance.setText(e['transcript'], utterance.lastUpdateTime)
else: else:
utterance.setText(e['transcript'], now) utterance.setText(e['transcript'], now)