Merge pull request #1165 from MycroftAI/bugfix/listener-reload

Return if audio is None in listener
pull/1169/head
Michael Nguyen 2017-10-17 14:52:12 -05:00 committed by GitHub
commit af5f3a8537
1 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,9 @@ class AudioConsumer(Thread):
except Empty:
return
if audio is None:
return
if self.state.sleeping:
self.wake_up(audio)
else: